Skip to content

Commit 49b64a6

Browse files
authored
Merge pull request #276 from pitdicker/unused_mut
Remove unnecessary mut
2 parents 078f421 + 44a4507 commit 49b64a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ macro_rules! impl_as_byte_slice {
812812
}
813813

814814
fn to_le(&mut self) {
815-
for mut x in self {
815+
for x in self {
816816
*x = x.to_le();
817817
}
818818
}

0 commit comments

Comments
 (0)