Remove count_ones (#399)
This commit is contained in:
parent
f0a9f9e3e1
commit
e5b667554e
1 changed files with 0 additions and 5 deletions
|
|
@ -90,7 +90,6 @@ pub trait Int:
|
|||
fn aborting_div(self, other: Self) -> Self;
|
||||
fn aborting_rem(self, other: Self) -> Self;
|
||||
fn leading_zeros(self) -> u32;
|
||||
fn count_ones(self) -> u32;
|
||||
}
|
||||
|
||||
fn unwrap<T>(t: Option<T>) -> T {
|
||||
|
|
@ -229,10 +228,6 @@ macro_rules! int_impl_common {
|
|||
fn leading_zeros(self) -> u32 {
|
||||
<Self>::leading_zeros(self)
|
||||
}
|
||||
|
||||
fn count_ones(self) -> u32 {
|
||||
<Self>::count_ones(self)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue