Remove useless public identifier
This commit is contained in:
parent
f3868b17cf
commit
1a8136b078
|
@ -15,7 +15,7 @@ pub trait PacketHandlerFn: Fn(Vec<u8>, &mut World) + Send + Sync + 'static {}
|
|||
impl<T: Fn(Vec<u8>, &mut World) + Send + Sync + 'static> PacketHandlerFn for T {}
|
||||
|
||||
/// A function that handle a received [Packet]s.
|
||||
pub type PacketHandler = Box<dyn PacketHandlerFn>;
|
||||
type PacketHandler = Box<dyn PacketHandlerFn>;
|
||||
|
||||
/// A Bevy resource that store the packets handlers.
|
||||
#[derive(Resource)]
|
||||
|
|
|
@ -17,7 +17,7 @@ pub trait PacketHandlerFn:
|
|||
impl<T: Fn(Entity, Connection, Vec<u8>, &mut World) + Send + Sync + 'static> PacketHandlerFn for T {}
|
||||
|
||||
/// A function that handle a received [Packet]s.
|
||||
pub type PacketHandler = Box<dyn PacketHandlerFn>;
|
||||
type PacketHandler = Box<dyn PacketHandlerFn>;
|
||||
|
||||
/// A Bevy resource that store the packets handlers.
|
||||
#[derive(Resource)]
|
||||
|
|
Loading…
Reference in a new issue