From dad8cd19d332e482e0c494600db5da596240f572 Mon Sep 17 00:00:00 2001 From: Esption Date: Wed, 8 Jul 2015 21:17:13 -0500 Subject: 'iff' for docs to 'if and only if' --- src/libcore/num/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/num') 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 { -- cgit 1.4.1-3-g733a5