diff options
| author | bors <bors@rust-lang.org> | 2015-07-11 19:18:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-11 19:18:02 +0000 |
| commit | d18eb74009924648cf8b6fe652f6ac4ab2a37718 (patch) | |
| tree | edf8bbcbf5ac7a7840158e2ca2d2bee0a3ca26a0 /src/libcore | |
| parent | 1b28ffa5216c845d1cef6b0cb3e5ac7db12025d0 (diff) | |
| parent | dad8cd19d332e482e0c494600db5da596240f572 (diff) | |
| download | rust-d18eb74009924648cf8b6fe652f6ac4ab2a37718.tar.gz rust-d18eb74009924648cf8b6fe652f6ac4ab2a37718.zip | |
Auto merge of #26878 - Esption:master, r=pnkfelix
I noticed in docs, specifically http://doc.rust-lang.org/std/primitive.u8.html#method.is_power_of_two, that it was like this, and it was apparently in multiple places too. Didn't change any occurrences through the cross-depo things. There's a lot in /src/llvm/ for instance, but I'm not confident on how to go about sending fixes for those, so this is just what's in the base rust depo. r? @steveklabnik
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index fd5ef4b1ccc..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` iff `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 { |
