Hi,
I constructed the following macro and it could pass the compilation. But I'm wondering how to use this or whether it's legal in syntax.
macro_rules! foo {
(aa$e:expr) => { println!(stringify!($e)); }
}
Hi,
I constructed the following macro and it could pass the compilation. But I'm wondering how to use this or whether it's legal in syntax.
macro_rules! foo {
(aa$e:expr) => { println!(stringify!($e)); }
}
oh, thx a lot