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/expr.rs b/src/expr.rs index 0251aa2..85f02e4 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -2303,8 +2303,8 @@ /// #[macro_use] /// extern crate syn; /// - /// use syn::{token, Attribute, Block, Ident, Stmt}; - /// use syn::parse::{Parse, ParseStream, Result}; + /// use syn::{token, Attribute, Block, Ident, Result, Stmt}; + /// use syn::parse::{Parse, ParseStream}; /// /// // Parse a function with no generics or parameter list. /// //