commit | a1c98070018eaa7066c6834e45c8a3264bcf396a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Sep 06 08:58:10 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Sep 06 08:58:10 2018 -0700 |
tree | 551e79aeb97c7969c3ddd27a4f5a25d1469cf7b1 | |
parent | 8e6096aebe1f936eeaed41ce49b0b6a70646e8bd [diff] [blame] |
Make doc examples compatible with stable
diff --git a/src/token.rs b/src/token.rs index 8892c33..40aa74f 100644 --- a/src/token.rs +++ b/src/token.rs
@@ -21,9 +21,10 @@ //! [`ItemStatic`]: ../struct.ItemStatic.html //! //! ``` +//! # #[macro_use] //! # extern crate syn; //! # -//! # use syn::{Attribute, Expr, Ident, Token, Type, Visibility}; +//! # use syn::{Attribute, Expr, Ident, Type, Visibility}; //! # //! pub struct ItemStatic { //! pub attrs: Vec<Attribute>,