| 1 | macro_rules! path { |
|---|---|
| 2 | ($($path:tt)+) => { |
| 3 | ::syn::parse_quote!($($path)+) |
| 4 | //stringify!($($path)+).parse().unwrap() |
| 5 | }; |
| 6 | } |
| 7 |
Definitions
Learn Rust with the experts
Find out more
| 1 | macro_rules! path { |
|---|---|
| 2 | ($($path:tt)+) => { |
| 3 | ::syn::parse_quote!($($path)+) |
| 4 | //stringify!($($path)+).parse().unwrap() |
| 5 | }; |
| 6 | } |
| 7 |