Skip to content

Commit c5ddc70

Browse files
committed
hurd: Fix clippy::precedence warnings.
1 parent 82d508f commit c5ddc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/hurd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3416,7 +3416,7 @@ const _UTSNAME_LENGTH: usize = 1024;
34163416

34173417
const_fn! {
34183418
{const} fn CMSG_ALIGN(len: usize) -> usize {
3419-
len + mem::size_of::<usize>() - 1 & !(mem::size_of::<usize>() - 1)
3419+
(len + mem::size_of::<usize>() - 1) & !(mem::size_of::<usize>() - 1)
34203420
}
34213421
}
34223422

0 commit comments

Comments
 (0)