forked from M-Labs/zynq-rs
WIP: Fix mutability
This commit is contained in:
parent
9066a58d00
commit
4d961c1049
|
@ -230,8 +230,8 @@ impl Config {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
pub fn write_str<'b>(&mut self, key: &str, data: &str) -> Result<'b, ()>{
|
pub fn write_str<'b>(&mut self, key: &str, data: &str) -> Result<'b, ()>{
|
||||||
let call_remove_config_key_bin = false;
|
let mut call_remove_config_key_bin = false;
|
||||||
let call_remove_config_txt = false;
|
let mut call_remove_config_txt = false;
|
||||||
|
|
||||||
if let Some(fs) = &self.fs {
|
if let Some(fs) = &self.fs {
|
||||||
let root_dir = fs.root_dir();
|
let root_dir = fs.root_dir();
|
||||||
|
|
Loading…
Reference in New Issue