mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-28 05:47:56 +00:00
Special case for 'static fields
This commit is contained in:
@@ -15,7 +15,7 @@ use internals::attr;
|
||||
|
||||
macro_rules! path {
|
||||
($($path:tt)+) => {
|
||||
syn::parse_path(stringify!($($path)+)).unwrap()
|
||||
syn::parse_path(quote!($($path)+).as_str()).unwrap()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user