Skip to content

Commit 072678e

Browse files
authored
docs: clarify uint exponent for is_power_of_two
1 parent 1bc5618 commit 072678e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3343,7 +3343,7 @@ macro_rules! uint_impl {
33433343
}
33443344
}
33453345

3346-
/// Returns `true` if and only if `self == 2^k` for some `k`.
3346+
/// Returns `true` if and only if `self == 2^k` for some unsigned integer `k`.
33473347
///
33483348
/// # Examples
33493349
///

0 commit comments

Comments
 (0)