Fix for Rust 1.15

This commit is contained in:
Sean Griffin 2019-03-20 14:31:49 -06:00
parent a295c38ba3
commit 0e6ce8fa50

View File

@ -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 {