Skip to content

Commit 4858a53

Browse files
author
yew005
committed
Fix comment
1 parent 0eef858 commit 4858a53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/num/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,8 +1599,8 @@ mod verify {
15991599
// i{8,16,32,64,128} and u{8,16,32,64,128} -- 10 types in total
16001600
//
16011601
// Target contracts:
1602-
// #[kani::requires(!self.overflowing_add(rhs).1)]
1603-
// #[kani::ensures(|ret| *ret >= $SelfT::MIN && *ret <= $SelfT::MAX)]
1602+
// #[requires(!self.overflowing_add(rhs).1)]
1603+
// #[ensures(|ret| *ret >= $SelfT::MIN && *ret <= $SelfT::MAX)]
16041604
//
16051605
// Target function:
16061606
// pub const unsafe fn unchecked_add(self, rhs: Self) -> Self

0 commit comments

Comments
 (0)