a
This commit is contained in:
parent
cb35c86add
commit
e28f5b7924
|
@ -23,7 +23,7 @@ macro_rules! impl_display {
|
||||||
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
|
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
|
||||||
match self {
|
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)]
|
#[doc(hidden)]
|
||||||
pub(crate) mod private {
|
pub(crate) mod internal {
|
||||||
macro_rules! impl_display_match_fragment {
|
macro_rules! impl_display_match_fragment {
|
||||||
(const, $f:expr, $lit:literal) => {
|
(const, $f:expr, $lit:literal) => {
|
||||||
$f.write_str($lit)
|
$f.write_str($lit)
|
||||||
|
|
Loading…
Reference in a new issue