From ed3da38701b81d70e401ae4c21b130889f44bb62 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 1 Mar 2016 21:16:09 +0100 Subject: [PATCH] Remove unused "mut" from EntryHeader::read_with_sep() --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 9a4be737..4c733811 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -614,7 +614,7 @@ impl EntryHeader { let tokens = tokens.unwrap(); let mut header_clone = self.header.clone(); // we clone as READing is simpler this way - let mut value = EntryHeader::walk_header(&mut header_clone, tokens); // walk N-1 tokens + let value = EntryHeader::walk_header(&mut header_clone, tokens); // walk N-1 tokens if value.is_err() { let e = value.err().unwrap(); match e.err_type() {