aboutsummaryrefslogtreecommitdiff
path: root/src/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.rs')
-rw-r--r--src/path.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/path.rs b/src/path.rs
index 693d71c7..301a06be 100644
--- a/src/path.rs
+++ b/src/path.rs
@@ -360,9 +360,10 @@ pub mod parsing {
/// # Example
///
/// ```
- /// # extern crate syn;
- /// #
- /// use syn::{Path, Token};
+ /// #[macro_use]
+ /// extern crate syn;
+ ///
+ /// use syn::Path;
/// use syn::parse::{Parse, ParseStream, Result};
///
/// // A simplified single `use` statement like: