We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa862f commit b95d1b7Copy full SHA for b95d1b7
library/core/src/num/uint_macros.rs
@@ -77,7 +77,7 @@ macro_rules! uint_impl {
77
without modifying the original"]
78
#[inline(always)]
79
pub const fn count_ones(self) -> u32 {
80
- return intrinsics::ctpop(self as $ActualT);
+ return intrinsics::ctpop(self);
81
}
82
83
/// Returns the number of zeros in the binary representation of `self`.
0 commit comments