about summary refs log tree commit diff
path: root/src/libstd/f64.rs
diff options
context:
space:
mode:
authorStrømberg <Stromberg90@users.noreply.github.com>2020-01-16 03:34:23 +0100
committerGitHub <noreply@github.com>2020-01-16 03:34:23 +0100
commit3f337b312d0cfec712fc56539a08b3ea9923bbf7 (patch)
tree563d74003d3579edc160a6ac56a919bfc7cec7ee /src/libstd/f64.rs
parent54b961658ba73f04d3603c8f839c1e36a7f989e5 (diff)
downloadrust-3f337b312d0cfec712fc56539a08b3ea9923bbf7.tar.gz
rust-3f337b312d0cfec712fc56539a08b3ea9923bbf7.zip
Update f64.rs
Diffstat (limited to 'src/libstd/f64.rs')
-rw-r--r--src/libstd/f64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index 61ce7b29e26..2dbd942f332 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -323,7 +323,7 @@ impl 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 @@ impl f64 {
         unsafe { cmath::fdim(self, other) }
     }
 
-    /// Takes the cubic root of a number.
+    /// Returns the cubic root of a number.
     ///
     /// # Examples
     ///