Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed May 6, 2023
1 parent f714e56 commit 6c19c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/netbsdlike/netbsd/mod.rs
Expand Up @@ -2472,7 +2472,7 @@ f! {
pub fn minor(dev: ::dev_t) -> ::c_int {
let mut res = 0;
res |= ((dev as u32) & 0xfff00000) >> 12;
res |= ((dev as u32) & 0x000000ff);
res |= (dev as u32) & 0x000000ff;
res as ::c_int
}
}
Expand Down

0 comments on commit 6c19c7c

Please sign in to comment.