Skip to content

Commit f67539e

Browse files
committed
Add comment
1 parent cd7db54 commit f67539e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/num/nonzero.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2606,6 +2606,7 @@ mod verify {
26062606
};
26072607
}
26082608

2609+
// Use for NonZero what already worked well for general numeric types (see num/mod.rs)
26092610
macro_rules! check_mul_unchecked_intervals {
26102611
($t:ty, $nonzero_type:ty, $nonzero_check_mul_for:ident, $min:expr, $max:expr) => {
26112612
#[kani::proof_for_contract(NonZero::<$t>::unchecked_mul)]

0 commit comments

Comments
 (0)