Use unused variable: writeerr

This commit is contained in:
Matthias Beyer 2016-01-05 16:14:10 +01:00
parent 3284e78d73
commit b0a8fd642c

View file

@ -179,6 +179,7 @@ impl Store {
fsfile.write_all(&text.unwrap().clone().into_bytes()[..])
}).map_err(|writeerr| {
debug!("Could not create file at '{}'", path);
debug!(" error: {:?}", writeerr);
}).and(Ok(true)).unwrap()
// TODO: Is this unwrap() save?