Fix clippy errors
This commit is contained in:
parent
a728b6666c
commit
438e164ffd
15 changed files with 36 additions and 36 deletions
|
|
@ -246,7 +246,7 @@ impl<'a> Bitfield<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> std::fmt::Debug for Bitfield<'a> {
|
||||
impl std::fmt::Debug for Bitfield<'_> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_struct("Bitfield")
|
||||
.field("_ones", &self.data.count_ones())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue