Remove an unnecessary cast

Very minor thing, obviously, but I randomly saw this unnecessary cast showing up in the UbChecks, so might as well get rid of it.
This commit is contained in:
Scott McMurray 2024-05-04 01:19:12 -07:00
parent 9fa862ff29
commit b95d1b716f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ macro_rules! uint_impl {
without modifying the original"]
#[inline(always)]
pub const fn count_ones(self) -> u32 {
return intrinsics::ctpop(self as $ActualT);
return intrinsics::ctpop(self);
}
/// Returns the number of zeros in the binary representation of `self`.