Browse Source

remove comments

pbs
Jake Probst 5 years ago
parent
commit
ee31196ac1
  1. 2
      src/common/serverstate.rs

2
src/common/serverstate.rs

@ -15,9 +15,7 @@ pub trait ServerState {
type Packet: ServerPacket;
type PacketError;
//fn handle(&mut self, pkt: &Self::Packet) -> Result<Vec<Box<dyn PSOPacket>>, Self::PacketError>;
fn on_connect(&mut self) -> Vec<OnConnect>;
//fn handle(&mut self, pkt: &Self::Packet) -> Result<Box<dyn Iterator<Item = Box<dyn PSOPacket>>>, Self::PacketError>;
fn handle(&mut self, pkt: &Self::Packet) -> Box<dyn Iterator<Item = Box<dyn PSOPacket>>>;
}
Loading…
Cancel
Save