Skip to content

Commit 7d2d924

Browse files
committed
Fix int examples
1 parent c249108 commit 7d2d924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/int_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ macro_rules! int_impl {
677677
///
678678
/// ```
679679
#[doc = concat!("assert_eq!((", stringify!($SelfT), "::MIN + 1).checked_div(-1), Some(", stringify!($Max), "));")]
680-
#[doc = concat!("assert_eq!(-5", stringify!($SelfT), ".checked_div(2), None);")]
680+
#[doc = concat!("assert_eq!((-5", stringify!($SelfT), ").checked_div(2), None);")]
681681
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::MIN.checked_div(-1), None);")]
682682
#[doc = concat!("assert_eq!((1", stringify!($SelfT), ").checked_div(0), None);")]
683683
/// ```

0 commit comments

Comments
 (0)