blob: 586ce6ce1bcc103989217f58906814f4b23ad8fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![deny(clippy::if_not_else)]
fn show_permissions(flags: u32) {
if flags & 0x0F00 != 0 {
println!("Has the 0x0F00 permission.");
} else {
println!("The 0x0F00 permission is missing.");
}
}
fn main() {}
|