about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-09 12:57:17 +0000
committerbors <bors@rust-lang.org>2015-07-09 12:57:17 +0000
commit5b15923026a8952f1b4939d73c69e01e04e3788b (patch)
treebe984e7de7a9ce21e043d750c4cbcf5fbc6fae5d /src/libcore
parentf11502cda8a05aae9b260141ac9c4538d46bb01b (diff)
parenta15c3c5ef5b05b5eb0b3bdfa2f3656fdac2f6606 (diff)
downloadrust-5b15923026a8952f1b4939d73c69e01e04e3788b.tar.gz
rust-5b15923026a8952f1b4939d73c69e01e04e3788b.zip
Auto merge of #26909 - rick68:patch-10, r=dotdash
fix typos
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/intrinsics.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs
index 455928077da..74901553149 100644
--- a/src/libcore/intrinsics.rs
+++ b/src/libcore/intrinsics.rs
@@ -586,18 +586,18 @@ extern "rust-intrinsic" {
     pub fn overflowing_mul<T>(a: T, b: T) -> T;
 
     /// Performs an unchecked signed division, which results in undefined behavior,
-    /// in cases where y == 0, or x == int::MIN and y == -1
+    /// in cases where y == 0, or x == isize::MIN and y == -1
     pub fn unchecked_sdiv<T>(x: T, y: T) -> T;
     /// Performs an unchecked unsigned division, which results in undefined behavior,
     /// in cases where y == 0
     pub fn unchecked_udiv<T>(x: T, y: T) -> T;
 
     /// Returns the remainder of an unchecked signed division, which results in
-    /// undefined behavior, in cases where y == 0, or x == int::MIN and y == -1
-    pub fn unchecked_urem<T>(x: T, y: T) -> T;
-    /// Returns the remainder of an unchecked signed division, which results in
-    /// undefined behavior, in cases where y == 0
+    /// undefined behavior, in cases where y == 0, or x == isize::MIN and y == -1
     pub fn unchecked_srem<T>(x: T, y: T) -> T;
+    /// Returns the remainder of an unchecked unsigned division, which results in
+    /// undefined behavior, in cases where y == 0
+    pub fn unchecked_urem<T>(x: T, y: T) -> T;
 
     /// Returns the value of the discriminant for the variant in 'v',
     /// cast to a `u64`; if `T` has no discriminant, returns 0.