about summary refs log tree commit diff
path: root/src/libstd/num/num.rs
diff options
context:
space:
mode:
authorZiad Hatahet <hatahet@gmail.com>2013-10-28 17:34:33 -0700
committerZiad Hatahet <hatahet@gmail.com>2013-10-28 19:35:56 -0700
commit3797f2bfe63ca618702607b0dd3f714f8fab99f3 (patch)
tree0d486191b8a03d694e9580a179d5820c41135574 /src/libstd/num/num.rs
parentcd6e9f4f834f849a3dafd7cf0786f3c97bc3bb37 (diff)
downloadrust-3797f2bfe63ca618702607b0dd3f714f8fab99f3.tar.gz
rust-3797f2bfe63ca618702607b0dd3f714f8fab99f3.zip
Capitalize statics in f32 and f64 mods
Fixes #10077
Diffstat (limited to 'src/libstd/num/num.rs')
-rw-r--r--src/libstd/num/num.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/num/num.rs b/src/libstd/num/num.rs
index d49759515b3..3097a8e138e 100644
--- a/src/libstd/num/num.rs
+++ b/src/libstd/num/num.rs
@@ -86,9 +86,9 @@ pub trait Signed: Num
 /// Returns the sign of the number.
 ///
 /// For float, f32, f64:
-/// - `1.0` if the number is positive, `+0.0` or `infinity`
-/// - `-1.0` if the number is negative, `-0.0` or `neg_infinity`
-/// - `NaN` if the number is `NaN`
+/// - `1.0` if the number is positive, `+0.0` or `INFINITY`
+/// - `-1.0` if the number is negative, `-0.0` or `NEG_INFINITY`
+/// - `NAN` if the number is `NAN`
 ///
 /// For int:
 /// - `0` if the number is zero