From e28f5b7924ca4a3985499c70b9fbdf990d674f32 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 20 Aug 2023 00:24:27 +0200 Subject: [PATCH] a --- hbvm/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbvm/src/utils.rs b/hbvm/src/utils.rs index 74c4ef0..19830db 100644 --- a/hbvm/src/utils.rs +++ b/hbvm/src/utils.rs @@ -23,7 +23,7 @@ macro_rules! impl_display { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { match self { $( - $bind => $crate::utils::private::impl_display_match_fragment!($($const,)? f, $fmt $(, $($params)*)?) + $bind => $crate::utils::internal::impl_display_match_fragment!($($const,)? f, $fmt $(, $($params)*)?) ),* } } @@ -32,7 +32,7 @@ macro_rules! impl_display { } #[doc(hidden)] -pub(crate) mod private { +pub(crate) mod internal { macro_rules! impl_display_match_fragment { (const, $f:expr, $lit:literal) => { $f.write_str($lit)