Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
rust
/
crates
/
proc-macro2
/
be256d8cc8ec17efa7ea4bf21a08509753bac582
/
.
/
src
/
macros.rs
blob: 89eb554c6c66f18cd0f0e3c7aa10c58fbeb39ed5 [
file
] [
log
] [
blame
]
macro_rules
!
forward_fmt
{
(
$tr
:
ident
for
$ty
:
ident
)
=>
{
impl
::
std
::
fmt
::
$tr
for
$ty
{
fn
fmt
(&
self
,
f
:
&
mut
::
std
::
fmt
::
Formatter
)
->
::
std
::
fmt
::
Result
{
::
std
::
fmt
::
$tr
::
fmt
(&
self
.
0
,
f
)
}
}
}
}