commit | 9b00f65ac9f8b907e84b178964a88f671ff9004f | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Sep 01 10:31:02 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Sep 01 10:43:29 2018 -0700 |
tree | ce07ff51e36a7c8c5535f087a7d8fca5debac074 | |
parent | 956449d8c53fb3aa6e9097143934390dff1bffc9 [diff] [blame] |
Remove macro_use and extern crate in doc tests
diff --git a/src/ext.rs b/src/ext.rs index ae6c2ae..0a412e4 100644 --- a/src/ext.rs +++ b/src/ext.rs
@@ -18,10 +18,9 @@ /// identifiers. /// /// ```rust - /// #[macro_use] - /// extern crate syn; - /// - /// use syn::Ident; + /// # extern crate syn; + /// # + /// use syn::{Ident, Token}; /// use syn::ext::IdentExt; /// use syn::parse::{Error, ParseStream, Result}; ///