about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-02-11 00:56:24 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2018-02-11 00:56:24 +0100
commit161e8ffda79d25ef7a570bf0c0d884201267c6cb (patch)
treed3853a5ca10ee8fc820e1a001b740fef3059cc1a /src/libstd
parent45fba43b3d5b4d1944268cf973099bfacb11bf4c (diff)
downloadrust-161e8ffda79d25ef7a570bf0c0d884201267c6cb.tar.gz
rust-161e8ffda79d25ef7a570bf0c0d884201267c6cb.zip
typo: correct endianess to endianness (this also changes function names!)
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/f32.rs2
-rw-r--r--src/libstd/f64.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs
index ecf68f29d6f..a760922115a 100644
--- a/src/libstd/f32.rs
+++ b/src/libstd/f32.rs
@@ -1023,7 +1023,7 @@ impl f32 {
     /// This is currently identical to `transmute::<u32, f32>(v)` on all platforms.
     /// It turns out this is incredibly portable, for two reasons:
     ///
-    /// * Floats and Ints have the same endianess on all supported platforms.
+    /// * Floats and Ints have the same endianness on all supported platforms.
     /// * IEEE-754 very precisely specifies the bit layout of floats.
     ///
     /// However there is one caveat: prior to the 2008 version of IEEE-754, how
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index 29ba7d0dac6..6f34f176a97 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -978,7 +978,7 @@ impl f64 {
     /// This is currently identical to `transmute::<u64, f64>(v)` on all platforms.
     /// It turns out this is incredibly portable, for two reasons:
     ///
-    /// * Floats and Ints have the same endianess on all supported platforms.
+    /// * Floats and Ints have the same endianness on all supported platforms.
     /// * IEEE-754 very precisely specifies the bit layout of floats.
     ///
     /// However there is one caveat: prior to the 2008 version of IEEE-754, how