diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 3d47d7cc..9a4be737 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -515,7 +515,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()); }