Skip to content

Commit cda554a

Browse files
committed
rollup merge of #18392 : cakebaker/remove_double_negation
2 parents 7577b6b + 348a46f commit cda554a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ pub trait Float: Signed + Primitive {
15021502

15031503
/// Take the square root of a number.
15041504
///
1505-
/// Returns NaN if `self` is not a non-negative number.
1505+
/// Returns NaN if `self` is a negative number.
15061506
fn sqrt(self) -> Self;
15071507
/// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
15081508
fn rsqrt(self) -> Self;

0 commit comments

Comments
 (0)