about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorEsption <esption@gmail.com>2015-07-08 21:17:13 -0500
committerEsption <esption@gmail.com>2015-07-08 21:17:13 -0500
commitdad8cd19d332e482e0c494600db5da596240f572 (patch)
tree33492458cae11f159d944c9220ab7fc67fcc2fdc /src/libcore/num
parent492f33a267d6d99d573b9e0558c25be6e1d03416 (diff)
downloadrust-dad8cd19d332e482e0c494600db5da596240f572.tar.gz
rust-dad8cd19d332e482e0c494600db5da596240f572.zip
'iff' for docs to 'if and only if'
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index f7dd739f268..3fd3d4a42b2 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -1126,7 +1126,7 @@ macro_rules! uint_impl {
             acc
         }
 
-        /// Returns `true` if `self == 2^k` for some `k`.
+        /// Returns `true` if and only if `self == 2^k` for some `k`.
         #[stable(feature = "rust1", since = "1.0.0")]
         #[inline]
         pub fn is_power_of_two(self) -> bool {