We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bfeb00 commit 04b4c4bCopy full SHA for 04b4c4b
test_suite/common.rs
@@ -50,7 +50,7 @@ fn test_foo() {
50
assert!(!(Test::A | Test::B | Test::C).contains(Test::A | Test::D));
51
assert_eq!(!(Test::A | Test::B), Test::C | Test::D);
52
assert_eq!((Test::A | Test::B).bits(), 3);
53
- assert_eq!((Test::A | Test::B).not().bits(), 12);
+ assert_eq!((!(Test::A | Test::B)).bits(), 12);
54
assert_eq!(BitFlags::<Test>::all().bits(), 15);
55
{
56
let mut b = Test::A | Test::B | Test::C;
0 commit comments