about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorFourchaux <jprodi04@gmail.com>2017-08-15 21:45:21 +0200
committerFourchaux <jprodi04@gmail.com>2017-08-15 21:56:30 +0200
commitc7104be1a37daa2f7ec114913247dc93524fd48e (patch)
tree1d476ec4954f7cf8bdd9f508a51762ffbc41be84 /src/libcore/num
parent82be83cf744611a016fb09ae1afbffc04b3ed2e1 (diff)
downloadrust-c7104be1a37daa2f7ec114913247dc93524fd48e.tar.gz
rust-c7104be1a37daa2f7ec114913247dc93524fd48e.zip
Fix typos & us spellings
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/dec2flt/rawfp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/num/dec2flt/rawfp.rs b/src/libcore/num/dec2flt/rawfp.rs
index 2a60292d023..12960fed045 100644
--- a/src/libcore/num/dec2flt/rawfp.rs
+++ b/src/libcore/num/dec2flt/rawfp.rs
@@ -102,10 +102,10 @@ pub trait RawFloat : Float + Copy + Debug + LowerExp
     /// The number of bits in the exponent.
     const EXP_BITS: u8;
 
-    /// The number of bits in the singificand, *including* the hidden bit.
+    /// The number of bits in the significand, *including* the hidden bit.
     const SIG_BITS: u8;
 
-    /// The number of bits in the singificand, *excluding* the hidden bit.
+    /// The number of bits in the significand, *excluding* the hidden bit.
     const EXPLICIT_SIG_BITS: u8;
 
     /// The maximum legal exponent in fractional representation.
@@ -123,7 +123,7 @@ pub trait RawFloat : Float + Copy + Debug + LowerExp
     /// `MIN_EXP` for integral representation, i.e., with the shift applied.
     const MIN_EXP_INT: i16;
 
-    /// The maximum normalized singificand in integral representation.
+    /// The maximum normalized significand in integral representation.
     const MAX_SIG: u64;
 
     /// The minimal normalized significand in integral representation.