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

This commit is contained in:
Matthias Beyer 2016-03-01 21:13:35 +01:00
parent 4390c39a6c
commit 85e69f083e

View file

@ -417,7 +417,7 @@ impl EntryHeader {
let destination = destination.unwrap(); let destination = destination.unwrap();
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 value.map(|_| false); return value.map(|_| false);
} }