Update src/libcore/num/mod.rs

Co-authored-by: lzutao <taolzu@gmail.com>
This commit is contained in:
Amanieu d'Antras 2020-06-11 05:21:15 +01:00 committed by GitHub
parent 5859f6e4f7
commit 7dc19b0bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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")]