all: remove unnecessary mem:: prefix
This commit is contained in:
parent
c00ef63afe
commit
1e45a243de
22 changed files with 61 additions and 76 deletions
|
|
@ -313,7 +313,7 @@ pub struct TypedBuf<T: Pod> {
|
|||
impl<T: Pod> TypedBuf<T> {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
buf: Buf::new(mem::size_of::<T>()),
|
||||
buf: Buf::new(size_of::<T>()),
|
||||
_phantom: Default::default(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue