diff --git a/src/user.rs b/src/user.rs index b0f7b99..356cd28 100644 --- a/src/user.rs +++ b/src/user.rs @@ -86,6 +86,7 @@ impl UserMap { } /// Inserts the given user info for the given user name in the mapping. + /// If there is already data under that name, it is replaced. pub fn insert(&mut self, name: String, user: User) { self.map.insert(name, user); }