pull/2/head
ondra05 2023-08-20 00:24:27 +02:00
parent 2986f85f77
commit 0b9601e105
No known key found for this signature in database
GPG Key ID: 0DA6D2BB2285E881
1 changed files with 2 additions and 2 deletions

View File

@ -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)