Browse Source

Better doc comment for UserMap::insert.

wip
Titouan Rigoudy 9 years ago
parent
commit
538bac8e9e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/user.rs

+ 1
- 0
src/user.rs View File

@ -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);
}


Loading…
Cancel
Save