Skip to content

Commit

Permalink
remove unnecessary into
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiyaa committed Oct 31, 2021
1 parent 75ac859 commit 28a798a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn mode_to_string(mode: u32) -> String {
let mode_shifted = mode >> 9;

for (val, ch) in LIBC_FILE_VALS.iter() {
if mode_shifted == (*val).into() {
if mode_shifted == *val {
mode_str.push(*ch);
break;
}
Expand Down

0 comments on commit 28a798a

Please sign in to comment.