diff options
| author | Trevor Spiteri <tspiteri@ieee.org> | 2020-05-10 11:24:06 +0200 |
|---|---|---|
| committer | Trevor Spiteri <tspiteri@ieee.org> | 2020-05-10 11:24:06 +0200 |
| commit | 0ceacd022c326dadfc65e5cffcde28449c3d735a (patch) | |
| tree | bf7d1b7f1fe3ea2a0aec8a1cd670ade06e22c05b /src | |
| parent | b3269536d0a883caa0904cf6589aa1310ff70b5e (diff) | |
| download | rust-0ceacd022c326dadfc65e5cffcde28449c3d735a.tar.gz rust-0ceacd022c326dadfc65e5cffcde28449c3d735a.zip | |
doc: minus (U+2212) instead of dash (U+002D) for negative infinity
Diffstat (limited to 'src')
| -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 4483940c9a7..434569020d2 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -367,7 +367,7 @@ impl f32 { /// Infinity (∞). #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const INFINITY: f32 = 1.0_f32 / 0.0_f32; - /// Negative infinity (-∞). + /// Negative infinity (−∞). #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const NEG_INFINITY: f32 = -1.0_f32 / 0.0_f32; diff --git a/src/libcore/num/f64.rs b/src/libcore/num/f64.rs index df45e588369..6476ddb4541 100644 --- a/src/libcore/num/f64.rs +++ b/src/libcore/num/f64.rs @@ -366,7 +366,7 @@ impl f64 { /// Infinity (∞). #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const INFINITY: f64 = 1.0_f64 / 0.0_f64; - /// Negative infinity (-∞). + /// Negative infinity (−∞). #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const NEG_INFINITY: f64 = -1.0_f64 / 0.0_f64; |
