We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4470115 commit c35c58bCopy full SHA for c35c58b
.travis.yml
@@ -8,5 +8,9 @@ jobs:
8
allow_failures:
9
- rust: nightly
10
fast_finish: true
11
-after_script:
+before_script:
12
+ - rustup component add rustfmt
13
+script:
14
+ - cargo build --verbose
15
+ - cargo test --verbose
16
- cargo fmt -- --check
src/ini.rs
@@ -676,8 +676,6 @@ impl Ini {
676
///Returns `Some(Option<String>)` if the value exists or else, `None`.
677
pub fn remove_key(&mut self, section: &str, key: &str) -> Option<Option<String>> {
678
let (section, key) = self.autocase(section, key);
679
- self.map
680
- .get_mut(§ion)?
681
- .remove(&key)
+ self.map.get_mut(§ion)?.remove(&key)
682
}
683
0 commit comments