Skip to content

Commit

Permalink
Update src/libcore/num/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: lzutao <taolzu@gmail.com>
  • Loading branch information
Amanieu and tesuji committed Jun 11, 2020
1 parent 5859f6e commit 7dc19b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 7dc19b0

Please sign in to comment.