Use unused variable: writeerr
This commit is contained in:
parent
3284e78d73
commit
b0a8fd642c
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ impl Store {
|
||||||
fsfile.write_all(&text.unwrap().clone().into_bytes()[..])
|
fsfile.write_all(&text.unwrap().clone().into_bytes()[..])
|
||||||
}).map_err(|writeerr| {
|
}).map_err(|writeerr| {
|
||||||
debug!("Could not create file at '{}'", path);
|
debug!("Could not create file at '{}'", path);
|
||||||
|
debug!(" error: {:?}", writeerr);
|
||||||
}).and(Ok(true)).unwrap()
|
}).and(Ok(true)).unwrap()
|
||||||
|
|
||||||
// TODO: Is this unwrap() save?
|
// TODO: Is this unwrap() save?
|
||||||
|
|
Loading…
Reference in a new issue