Remove unused "mut" from EntryHeader::delete()

This commit is contained in:
Matthias Beyer 2016-03-01 21:16:23 +01:00
parent ed3da38701
commit 08c37c5fcb

View file

@ -642,7 +642,7 @@ impl EntryHeader {
debug!("destination = {:?}", destination);
let path_to_dest = tokens[..(tokens.len() - 1)].into(); // N - 1 tokens
let mut value = EntryHeader::walk_header(&mut self.header, path_to_dest); // walk N-1 tokens
let value = EntryHeader::walk_header(&mut self.header, path_to_dest); // walk N-1 tokens
if value.is_err() {
return Err(value.err().unwrap());
}