Remove unneeded uses of 'mut'

This seems to be a warning with the latest Rust, and an error due to #![deny(warnings)]
This commit is contained in:
Ian Douglas Scott
2017-08-11 14:55:19 -07:00
parent a830383220
commit 4f3b097a4a
3 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ impl Node {
pub fn new(mode: u16, name: &str, parent: u64, ctime: u64, ctime_nsec: u32) -> Node {
let mut bytes = [0; 222];
for (mut b, c) in bytes.iter_mut().zip(name.bytes()) {
for (b, c) in bytes.iter_mut().zip(name.bytes()) {
*b = c;
}