Use specific negative assertion for DOM HTMLCollection

This commit is contained in:
CYBAI 2018-01-26 02:11:02 +08:00
parent 1ba2b67b00
commit f372bc0f40

View file

@ -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 }
}