Browse Source

WIP: Fix mutability

master
cw 2 years ago
parent
commit
4d961c1049
  1. 4
      libconfig/src/lib.rs

4
libconfig/src/lib.rs

@ -230,8 +230,8 @@ impl Config {
Ok(())
}
pub fn write_str<'b>(&mut self, key: &str, data: &str) -> Result<'b, ()>{
let call_remove_config_key_bin = false;
let call_remove_config_txt = false;
let mut call_remove_config_key_bin = false;
let mut call_remove_config_txt = false;
if let Some(fs) = &self.fs {
let root_dir = fs.root_dir();

Loading…
Cancel
Save