more fmt
This commit is contained in:
parent
6b3a132451
commit
3771180909
|
@ -1,8 +1,9 @@
|
||||||
//! Virtual(?) memory address
|
//! Virtual(?) memory address
|
||||||
|
|
||||||
use core::{fmt::Debug, ops};
|
use {
|
||||||
|
crate::utils::impl_display,
|
||||||
use crate::utils::impl_display;
|
core::{fmt::Debug, ops},
|
||||||
|
};
|
||||||
|
|
||||||
/// Memory address
|
/// Memory address
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
@ -126,6 +127,5 @@ macro_rules! impl_address_ops_i(($($ty:ty),* $(,)?) => {
|
||||||
})*
|
})*
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
impl_address_ops_u!(u8, u16, u32, u64, usize);
|
impl_address_ops_u!(u8, u16, u32, u64, usize);
|
||||||
impl_address_ops_i!(i8, i16, i32, i64, isize);
|
impl_address_ops_i!(i8, i16, i32, i64, isize);
|
||||||
|
|
Loading…
Reference in a new issue