From ee280cd55fb84c10ba2bab159797e15e72ea4670 Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 3 Nov 2023 09:19:41 +0100 Subject: [PATCH] more fmt --- hbvm/src/mem/addr.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hbvm/src/mem/addr.rs b/hbvm/src/mem/addr.rs index fc7b57b..2a162af 100644 --- a/hbvm/src/mem/addr.rs +++ b/hbvm/src/mem/addr.rs @@ -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);