about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2016-02-14 17:44:22 +0000
committerOliver Middleton <olliemail27@gmail.com>2016-02-14 17:44:22 +0000
commit36c00f810722b2e6aebe0c4db3d3d90ade7a32d3 (patch)
tree9f84c574c8acc6bbf50e54c5276a280e40d5080a /src/libcore/num
parentf3619ce026e3de5d26537de63b7d0cd7710a3b96 (diff)
downloadrust-36c00f810722b2e6aebe0c4db3d3d90ade7a32d3.tar.gz
rust-36c00f810722b2e6aebe0c4db3d3d90ade7a32d3.zip
Fix signed int checked_neg docs
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index d094f05374b..ed370bb9164 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -479,7 +479,7 @@ macro_rules! int_impl {
             }
         }
 
-        /// Checked negation. Computes `!self`, returning `None` if `self ==
+        /// Checked negation. Computes `-self`, returning `None` if `self ==
         /// MIN`.
         ///
         /// # Examples