1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

chore: remove unneeded parens

Keeps code a bit more readable
This commit is contained in:
Yuri Astrakhan 2025-04-08 14:22:57 -04:00
parent 6ea1f5247f
commit 170831ed2b
12 changed files with 42 additions and 46 deletions

View file

@ -5787,11 +5787,7 @@ fn test_dir_perm_race_with_preserve_mode_and_ownership() {
} else {
libc::S_IRWXG | libc::S_IRWXO
} as u32;
assert_eq!(
(mode & mask),
0,
"unwanted permissions are present - {attr}"
);
assert_eq!(mode & mask, 0, "unwanted permissions are present - {attr}");
at.write(FIFO, "done");
child.wait().unwrap().succeeded();
}