Remove unneeded "mut"

This commit is contained in:
Matthias Beyer 2018-01-04 19:34:43 +01:00
parent af819f0fca
commit e518598351

View file

@ -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)?;
}