about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Zaiser <fabian.zaiser@gmail.com>2018-03-29 01:10:37 +0200
committerFabian Zaiser <fabian.zaiser@gmail.com>2018-03-29 01:10:37 +0200
commitc0870e2f55b8b160c8ad7af684831902b4979cfb (patch)
treea719a36e24caf2615741ad4f5562d43836d5bf99
parent1b5db85314a35416b617e8b7d0a3baa72922a2f3 (diff)
Fix doctest (typo).
-rw-r--r--src/libcore/num/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index 1346435a21a..89276fcee80 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -3252,7 +3252,7 @@ Basic usage:
 
 ```
 #![feature(euclidean_division)]
-assert_eq(7", stringify!($SelfT), ".div_euc(4), 1); // or any other integer type
+assert_eq!(7", stringify!($SelfT), ".div_euc(4), 1); // or any other integer type
 ```"),
             #[unstable(feature = "euclidean_division", issue = "49048")]
             #[inline]
@@ -3274,7 +3274,7 @@ Basic usage:
 
 ```
 #![feature(euclidean_division)]
-assert_eq(7", stringify!($SelfT), ".mod_euc(4), 3); // or any other integer type
+assert_eq!(7", stringify!($SelfT), ".mod_euc(4), 3); // or any other integer type
 ```"),
             #[unstable(feature = "euclidean_division", issue = "49048")]
             #[inline]