Skip to content

Commit 6736173

Browse files
committed
Fix docs
1 parent 6f4f258 commit 6736173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ini.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ impl Ini {
608608
///let val = config.remove_key("anothersection", "updog").unwrap().unwrap();
609609
///assert_eq!(val, String::from("differentdog")); // with the last section removed, our map is now empty!
610610
///```
611-
///Returns `Some(section_map)` if the section exists or else, `None`.
611+
///Returns `Some(Option<String>)` if the value exists or else, `None`.
612612
pub fn remove_key(&mut self, section: &str, key: &str) -> Option<Option<String>> {
613613
self.map.get_mut(&section.to_lowercase())?.remove(&key.to_lowercase())
614614
}

0 commit comments

Comments
 (0)