From e3e4953560767d47bcc1d7b129712a7f4188f0eb Mon Sep 17 00:00:00 2001 From: djairoh Date: Fri, 12 May 2023 14:42:26 +0200 Subject: [PATCH] tweak to documentation --- src/structs/config.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/structs/config.rs b/src/structs/config.rs index 77ab74a..9894d02 100644 --- a/src/structs/config.rs +++ b/src/structs/config.rs @@ -155,8 +155,6 @@ impl Default for Config { impl Config { /// This function returns the index of a given player identity in the player_priorities hashmap. /// If the given identity is not in the map, the value of i32::MAX is returned instead. - /// - /// TODO: using a HashMap would be more efficient i think. pub fn find_player_priorities_idx(&self, name: &str) -> u8 { match self.player_priorities.get(name) { Some(val) => *val,