forked from AbleOS/holey-bytes
more fmt
This commit is contained in:
parent
d9b4c0dda2
commit
ee280cd55f
|
@ -1,8 +1,9 @@
|
|||
//! Virtual(?) memory address
|
||||
|
||||
use core::{fmt::Debug, ops};
|
||||
|
||||
use crate::utils::impl_display;
|
||||
use {
|
||||
crate::utils::impl_display,
|
||||
core::{fmt::Debug, ops},
|
||||
};
|
||||
|
||||
/// Memory address
|
||||
#[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_i!(i8, i16, i32, i64, isize);
|
||||
|
|
Loading…
Reference in a new issue