From e518598351f946038b4fb99f1a24de87e2939cfc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 4 Jan 2018 19:34:43 +0100 Subject: [PATCH] Remove unneeded "mut" --- lib/entry/libimagentrygps/src/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entry/libimagentrygps/src/entry.rs b/lib/entry/libimagentrygps/src/entry.rs index 3b689fd2..5a7c2df2 100644 --- a/lib/entry/libimagentrygps/src/entry.rs +++ b/lib/entry/libimagentrygps/src/entry.rs @@ -87,7 +87,7 @@ impl GPSEntry for Entry { "gps", ]; - let mut hdr = self.get_header_mut(); + let hdr = self.get_header_mut(); for pattern in patterns.iter() { let _ = hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError)?; }