commit | f0fea9ac005418de4f46d540424ca7f50a46d1a4 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Thu May 17 11:19:34 2018 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Thu May 17 11:19:34 2018 -0700 |
tree | df2e2c993e0ccbb4a67f5d13fac392d4c6cfc6d7 | |
parent | 9dc5d0ea553ad4b341a5c3b5d27a68024b8cca01 [diff] [blame] |
Fix doctests and macros
diff --git a/src/path.rs b/src/path.rs index f27d6b2..499ad25 100644 --- a/src/path.rs +++ b/src/path.rs
@@ -32,9 +32,11 @@ /// ```rust /// extern crate syn; /// extern crate quote; +/// extern crate proc_macro2; /// /// use syn::{QSelf, Path, PathTokens}; -/// use quote::{Tokens, ToTokens}; +/// use proc_macro2::TokenStream; +/// use quote::ToTokens; /// /// struct MyNode { /// qself: Option<QSelf>,