Remove unused "mut" from EntryHeader::delete()
This commit is contained in:
parent
ed3da38701
commit
08c37c5fcb
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ impl EntryHeader {
|
||||||
debug!("destination = {:?}", destination);
|
debug!("destination = {:?}", destination);
|
||||||
|
|
||||||
let path_to_dest = tokens[..(tokens.len() - 1)].into(); // N - 1 tokens
|
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() {
|
if value.is_err() {
|
||||||
return Err(value.err().unwrap());
|
return Err(value.err().unwrap());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue