mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use specific negative assertion for DOM HTMLCollection
This commit is contained in:
parent
1ba2b67b00
commit
f372bc0f40
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl OptionU32 {
|
|||
}
|
||||
|
||||
fn some(bits: u32) -> OptionU32 {
|
||||
assert!(bits != u32::max_value());
|
||||
assert_ne!(bits, u32::max_value());
|
||||
OptionU32 { bits: bits }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue