Fix a "variable does not need to be mutable" warning.
This commit is contained in:
parent
2adf7eecc9
commit
92e374e778
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ where
|
|||
Ok(result) => result,
|
||||
Err(e) => {
|
||||
// Create a new error with path_str to help users see which files failed
|
||||
let mut err_msg = path_str.to_string() + &": ".to_string() + &e.to_string();
|
||||
let err_msg = path_str.to_string() + &": ".to_string() + &e.to_string();
|
||||
return Err(io::Error::new(e.kind(), err_msg));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue