Update src/libcore/num/mod.rs
Co-authored-by: lzutao <taolzu@gmail.com>
This commit is contained in:
parent
5859f6e4f7
commit
7dc19b0bd5
@ -3309,8 +3309,8 @@ Basic usage:
|
||||
|
||||
```
|
||||
", $Feature, "assert_eq!(100", stringify!($SelfT), ".saturating_add(1), 101);
|
||||
assert_eq!((", stringify!($SelfT), "::MAX).saturating_add(127), ", stringify!($SelfT),
|
||||
"::MAX);", $EndFeature, "
|
||||
assert_eq!(", stringify!($SelfT), "::MAX.saturating_add(127), ", stringify!($SelfT), "::MAX);",
|
||||
$EndFeature, "
|
||||
```"),
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
Loading…
Reference in New Issue
Block a user