Skip to content

Commit da001b8

Browse files
committed
Fix doc typo in num::{f32,f64}.
1 parent 6843ea4 commit da001b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/num/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub const INFINITY: f32 = 1.0_f32/0.0_f32;
7171
#[allow(missing_docs)]
7272
pub const NEG_INFINITY: f32 = -1.0_f32/0.0_f32;
7373

74-
/// Basic mathematial constants.
74+
/// Basic mathematical constants.
7575
#[stable(feature = "rust1", since = "1.0.0")]
7676
pub mod consts {
7777
// FIXME: replace with mathematical constants from cmath.

src/libcore/num/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub const INFINITY: f64 = 1.0_f64/0.0_f64;
7171
#[allow(missing_docs)]
7272
pub const NEG_INFINITY: f64 = -1.0_f64/0.0_f64;
7373

74-
/// Basic mathematial constants.
74+
/// Basic mathematical constants.
7575
#[stable(feature = "rust1", since = "1.0.0")]
7676
pub mod consts {
7777
// FIXME: replace with mathematical constants from cmath.

0 commit comments

Comments
 (0)