From 348a46f9c101feeef0479539bb956edb57b2e785 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 28 Oct 2014 15:07:22 +0100 Subject: [PATCH] Remove double negation from sqrt's doc comment --- src/libcore/num/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;