all: remove unnecessary mem:: prefix
This commit is contained in:
parent
c00ef63afe
commit
1e45a243de
22 changed files with 61 additions and 76 deletions
|
|
@ -1,8 +1,6 @@
|
|||
#![allow(dead_code)]
|
||||
|
||||
use std::mem;
|
||||
|
||||
const SEG_SIZE: usize = 8 * mem::size_of::<usize>();
|
||||
const SEG_SIZE: usize = usize::BITS as usize;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Bitfield {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue