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

This commit is contained in:
Matthias Beyer 2016-03-01 21:13:56 +01:00
parent 85e69f083e
commit 309e70df14

View file

@ -515,7 +515,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());
} }