From 6db85d6f8976ccc3c9c354904049954d7d9883cf Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 5 Oct 2022 09:30:54 -0600 Subject: [PATCH] rust: clippy fix for bitwise or with 0 --- rust/src/nfs/nfs4_records.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/nfs/nfs4_records.rs b/rust/src/nfs/nfs4_records.rs index e06fb51d5d..9d316492dd 100644 --- a/rust/src/nfs/nfs4_records.rs +++ b/rust/src/nfs/nfs4_records.rs @@ -1646,7 +1646,7 @@ mod tests { let (r, attr) = nfs4_parse_attrbits(&buf[4..]).unwrap(); assert_eq!(r.len(), 0); // assert_eq!(attr.attr_mask, 35618163785728); - assert_eq!(attr.attr_mask, (0x00002065_u64 << 32 | 0_u64)); + assert_eq!(attr.attr_mask, 0x00002065_u64 << 32); } #[test] fn test_nfs4_response_compound() { -- 2.47.2