commit | 67fea0442850c21b95bea7a88408eb4aa02abf41 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Nov 24 14:50:20 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Nov 24 14:50:20 2018 -0800 |
tree | 656490cf6d2ef2ceb36865bd1a8f804aaa241343 | |
parent | a72f262e62fd108b725f3e51814a7763f045e4b6 [diff] [blame] |
Use Error and Result from root in tests
diff --git a/src/lit.rs b/src/lit.rs index c1af9f2..d4670c0 100644 --- a/src/lit.rs +++ b/src/lit.rs
@@ -134,8 +134,7 @@ /// # extern crate syn; /// # /// use proc_macro2::Span; - /// use syn::{Attribute, Ident, Lit, Meta, MetaNameValue, Path}; - /// use syn::parse::{Error, Result}; + /// use syn::{Attribute, Error, Ident, Lit, Meta, MetaNameValue, Path, Result}; /// /// // Parses the path from an attribute that looks like: /// //