about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorDaniel Hofstetter <daniel.hofstetter@42dh.com>2014-10-28 15:07:22 +0100
committerDaniel Hofstetter <daniel.hofstetter@42dh.com>2014-10-28 15:07:22 +0100
commit348a46f9c101feeef0479539bb956edb57b2e785 (patch)
treedcce8d8793d4690cb10b3420c841a010bdaa5ea1 /src/libcore/num
parent9a778bc550c22c50117ee42ef5cf7510622fb036 (diff)
downloadrust-348a46f9c101feeef0479539bb956edb57b2e785.tar.gz
rust-348a46f9c101feeef0479539bb956edb57b2e785.zip
Remove double negation from sqrt's doc comment
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 3dceb42e206..56e5cd34bd1 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;