about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-01 02:43:51 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-01 02:43:51 +0200
commit4dc323f019f2b9e1a660a9ba707d0bddaa470416 (patch)
tree55014ee17d5fd87f7594b1d30ed446834391d12f
parent2eb3ab19ac488094757319ddf10356bf5c47eee0 (diff)
downloadrust-4dc323f019f2b9e1a660a9ba707d0bddaa470416.tar.gz
rust-4dc323f019f2b9e1a660a9ba707d0bddaa470416.zip
doc: fix typos in std::num::Int
-rw-r--r--src/libcore/num/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index 48a3db4258f..53491cf2142 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -418,7 +418,7 @@ pub trait Int: Primitive
         (!self).count_ones()
     }
 
-    /// Returns the number of leading zeros in the in the binary representation
+    /// Returns the number of leading zeros in the binary representation
     /// of the integer.
     ///
     /// # Example
@@ -430,7 +430,7 @@ pub trait Int: Primitive
     /// ```
     fn leading_zeros(self) -> Self;
 
-    /// Returns the number of trailing zeros in the in the binary representation
+    /// Returns the number of trailing zeros in the binary representation
     /// of the integer.
     ///
     /// # Example