commit | 3cede94385dc693d32920009383c2765e6477066 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Tue Dec 26 12:29:24 2017 -0500 |
committer | David Tolnay <dtolnay@gmail.com> | Tue Dec 26 12:29:24 2017 -0500 |
tree | d20281a5f25fe6bd684bf49bb2a9e481550767aa | |
parent | bb4ca9ff61bfcfb380723bf733191ed687ae485d [diff] [blame] |
Resolve clippy lints in tests
diff --git a/tests/test_precedence.rs b/tests/test_precedence.rs index 8ef0a79..c5673a6 100644 --- a/tests/test_precedence.rs +++ b/tests/test_precedence.rs
@@ -182,7 +182,7 @@ } fn libsyntax_parse_and_rewrite(input: &str) -> Option<P<ast::Expr>> { - parse::libsyntax_expr(input).and_then(|e| libsyntax_brackets(e)) + parse::libsyntax_expr(input).and_then(libsyntax_brackets) } /// Wrap every expression which is not already wrapped in parens with parens, to