commit | f5ebc19e2d95a4ebe2883d3e5f4a34c3a6f54d71 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 18:23:46 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 18:23:46 2018 -0700 |
tree | 3b4e494411b6cb2ba9866b645d35bbda732389fa | |
parent | bff5b3a7251a67db757ebd0c4c678d936f92d793 [diff] [blame] |
Remove parse_synom shim
diff --git a/src/path.rs b/src/path.rs index 6baf35a..4cdf2de 100644 --- a/src/path.rs +++ b/src/path.rs
@@ -296,7 +296,7 @@ let content; Ok(ParenthesizedGenericArguments { paren_token: parenthesized!(content in input), - inputs: content.parse_synom(Punctuated::parse_terminated)?, + inputs: content.parse_terminated(Type::parse)?, output: input.call(ReturnType::without_plus)?, }) }