Cleanup unused code

This commit is contained in:
Imbris 2019-10-06 21:08:28 -04:00 committed by Imbris
parent 53ddbec527
commit c02cd0a730

View File

@ -78,10 +78,6 @@ impl Clients {
})
}
//pub fn get_index_mut<'a>(&'a mut self, index: u32) -> Option<&'a mut Client> {
// self.clients.get_index_mut(index)
//}
pub fn remove_if<F: FnMut(EcsEntity, &mut Client) -> bool>(&mut self, mut f: F) {
self.clients.retain(|entity, client| !f(*entity, client));
}