diff options
| author | Jed Davis <jld@panix.com> | 2015-10-05 16:51:43 -0700 |
|---|---|---|
| committer | Jed Davis <jld@panix.com> | 2015-10-05 16:51:43 -0700 |
| commit | da001b87305c9e4798929fcb1278caa161b4cae1 (patch) | |
| tree | df3ee18937b9688f4b255459598bcff433e41b79 | |
| parent | 6843ea4a46f1479b5f33d0d46512083f432d6251 (diff) | |
| download | rust-da001b87305c9e4798929fcb1278caa161b4cae1.tar.gz rust-da001b87305c9e4798929fcb1278caa161b4cae1.zip | |
Fix doc typo in num::{f32,f64}.
| -rw-r--r-- | src/libcore/num/f32.rs | 2 | ||||
| -rw-r--r-- | src/libcore/num/f64.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs index 1b7cbb050d1..6185823d001 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -71,7 +71,7 @@ pub const INFINITY: f32 = 1.0_f32/0.0_f32; #[allow(missing_docs)] pub const NEG_INFINITY: f32 = -1.0_f32/0.0_f32; -/// Basic mathematial constants. +/// Basic mathematical constants. #[stable(feature = "rust1", since = "1.0.0")] pub mod consts { // FIXME: replace with mathematical constants from cmath. diff --git a/src/libcore/num/f64.rs b/src/libcore/num/f64.rs index a057e5fe51a..f85f8c5bd14 100644 --- a/src/libcore/num/f64.rs +++ b/src/libcore/num/f64.rs @@ -71,7 +71,7 @@ pub const INFINITY: f64 = 1.0_f64/0.0_f64; #[allow(missing_docs)] pub const NEG_INFINITY: f64 = -1.0_f64/0.0_f64; -/// Basic mathematial constants. +/// Basic mathematical constants. #[stable(feature = "rust1", since = "1.0.0")] pub mod consts { // FIXME: replace with mathematical constants from cmath. |
