diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs index 61ce7b29e26f..2dbd942f3324 100644 --- a/src/libstd/f64.rs +++ b/src/libstd/f64.rs @@ -323,7 +323,7 @@ pub fn powf(self, n: f64) -> f64 { unsafe { intrinsics::powf64(self, n) } } - /// Takes the square root of a number. + /// Returns the square root of a number. /// /// Returns NaN if `self` is a negative number. /// @@ -506,7 +506,7 @@ pub fn abs_sub(self, other: f64) -> f64 { unsafe { cmath::fdim(self, other) } } - /// Takes the cubic root of a number. + /// Returns the cubic root of a number. /// /// # Examples ///