about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-10-30 08:55:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-10-30 09:29:23 -0700
commitcda554aaf9fec70005faebbc516479ebcea28f02 (patch)
tree1f6630cefdb7d26ceccbfb990fb91f4a380c3a0d /src
parent7577b6b678c656cd3bdb6e04e3f7d2c909b0e390 (diff)
parent348a46f9c101feeef0479539bb956edb57b2e785 (diff)
downloadrust-cda554aaf9fec70005faebbc516479ebcea28f02.tar.gz
rust-cda554aaf9fec70005faebbc516479ebcea28f02.zip
rollup merge of #18392 : cakebaker/remove_double_negation
Diffstat (limited to 'src')
-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 525d588d70f..3d05fd060d2 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -1502,7 +1502,7 @@ pub trait Float: Signed + Primitive {
 
     /// Take the square root of a number.
     ///
-    /// Returns NaN if `self` is not a non-negative number.
+    /// Returns NaN if `self` is a negative number.
     fn sqrt(self) -> Self;
     /// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
     fn rsqrt(self) -> Self;