Update example code to 2018 edition
diff --git a/src/path.rs b/src/path.rs
index 97ba58c..f35c111 100644
--- a/src/path.rs
+++ b/src/path.rs
@@ -359,10 +359,7 @@
         /// # Example
         ///
         /// ```
-        /// #[macro_use]
-        /// extern crate syn;
-        ///
-        /// use syn::{Path, Result};
+        /// use syn::{Path, Result, Token};
         /// use syn::parse::{Parse, ParseStream};
         ///
         /// // A simplified single `use` statement like:
@@ -386,8 +383,6 @@
         ///         })
         ///     }
         /// }
-        /// #
-        /// # fn main() {}
         /// ```
         pub fn parse_mod_style(input: ParseStream) -> Result<Self> {
             Ok(Path {