Skip to content

Commit

Permalink
Merge pull request #3 from yuqio/proc-macro2-span
Browse files Browse the repository at this point in the history
Use `proc_macro2::Span` instead of `syn::export::Span`
  • Loading branch information
Lymia authored Jan 25, 2021
2 parents b1e964a + a174da6 commit a6d5ad5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ extern crate proc_macro;
use darling::*;
use darling::util::Flag;
use proc_macro::TokenStream;
use proc_macro2::{TokenStream as SynTokenStream};
use proc_macro2::{Span, TokenStream as SynTokenStream};
use std::result::Result;
use syn::*;
use syn::export::Span;
use syn::spanned::Spanned;
use quote::*;

Expand Down

0 comments on commit a6d5ad5

Please sign in to comment.