Remove unneeded Keyword "mut"

This commit is contained in:
Matthias Beyer 2016-01-05 16:16:03 +01:00
parent 8053599f94
commit 5e1b720cb7

View file

@ -125,8 +125,7 @@ impl<HP: FileHeaderParser> Parser<HP> {
if divided.is_err() {
debug!("Error reading into internal datastructure");
let mut p = ParserError::new("Dividing text failed",
s, 0,
let p = ParserError::new("Dividing text failed", s, 0,
"Dividing text with divide_text() failed");
return Err(p.with_cause(Box::new(divided.err().unwrap())));
}