Skip to content

Commit c0870e2

Browse files
committed
Fix doctest (typo).
1 parent 1b5db85 commit c0870e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/num/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3252,7 +3252,7 @@ Basic usage:
32523252
32533253
```
32543254
#![feature(euclidean_division)]
3255-
assert_eq(7", stringify!($SelfT), ".div_euc(4), 1); // or any other integer type
3255+
assert_eq!(7", stringify!($SelfT), ".div_euc(4), 1); // or any other integer type
32563256
```"),
32573257
#[unstable(feature = "euclidean_division", issue = "49048")]
32583258
#[inline]
@@ -3274,7 +3274,7 @@ Basic usage:
32743274
32753275
```
32763276
#![feature(euclidean_division)]
3277-
assert_eq(7", stringify!($SelfT), ".mod_euc(4), 3); // or any other integer type
3277+
assert_eq!(7", stringify!($SelfT), ".mod_euc(4), 3); // or any other integer type
32783278
```"),
32793279
#[unstable(feature = "euclidean_division", issue = "49048")]
32803280
#[inline]

0 commit comments

Comments
 (0)