Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
proc-macro2 0.1.1 - Docs.rs
[go: Go Back, main page]

proc-macro2 0.1.1

A stable implementation of the upcoming new `proc_macro` API. Comes with an option, off by default, to also reimplement itself in terms of the upstream unstable API.
Documentation
1
2
3
4
5
6
7
8
9
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)
            }
        }
    }
}