diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index b43994868dea2..fe131de66f152 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -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")]