mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 03:57:56 +00:00
Fix for Rust 1.15
This commit is contained in:
@@ -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