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/path.rs b/src/path.rs index 7c1f78d..beb5fdd 100644 --- a/src/path.rs +++ b/src/path.rs
@@ -370,8 +370,8 @@ /// #[macro_use] /// extern crate syn; /// - /// use syn::Path; - /// use syn::parse::{Parse, ParseStream, Result}; + /// use syn::{Path, Result}; + /// use syn::parse::{Parse, ParseStream}; /// /// // A simplified single `use` statement like: /// //