From da001b87305c9e4798929fcb1278caa161b4cae1 Mon Sep 17 00:00:00 2001 From: Jed Davis Date: Mon, 5 Oct 2015 16:51:43 -0700 Subject: [PATCH] Fix doc typo in num::{f32,f64}. --- src/libcore/num/f32.rs | 2 +- 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.