Apply changes suggested by clippy lints

This commit is contained in:
Oliver Hamlet
2022-01-23 22:17:35 +00:00
parent 1ca8bb1e49
commit aa3dabab8d
5 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ where
} else {
slice::from_raw_parts(array, array_size)
.iter()
.map(|c| mapper(c))
.map(mapper)
.collect()
}
}