mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 11:16:29 +00:00
Fix for Rust 1.15
This commit is contained in:
1 parent
a295c38ba3
commit
0e6ce8fa50
1 file changed
+1
@@ -1,5 +1,6 @@
|
||||
use proc_macro2::{Ident, Span, TokenStream};
|
||||
|
||||
use syn;
|
||||
use try;
|
||||
|
||||
pub fn wrap_in_const(serde_path: Option<&syn::Path>, trait_: &str, ty: &Ident, code: TokenStream) -> TokenStream {
|
||||
|
||||
Reference in new issue
Block a user