commit | 8db2d66998f743164896e1ab81d36e3c98654ea7 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 17:40:59 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 17:40:59 2018 -0700 |
tree | 12cf9059ede9ce0f7c664978a682c77c42574a56 | |
parent | 7158c5f1d826c5bcf71914bb01ee672ac9fd5911 [diff] [blame] |
Remove ty_no_eq_after
diff --git a/src/path.rs b/src/path.rs index fd85c21..6e68000 100644 --- a/src/path.rs +++ b/src/path.rs
@@ -261,7 +261,7 @@ } } - Ok(GenericArgument::Type(input.parse_synom(ty_no_eq_after)?)) + input.parse().map(GenericArgument::Type) } } @@ -452,12 +452,6 @@ Ok((None, path)) } } - - named!(pub ty_no_eq_after -> Type, do_parse!( - ty: syn!(Type) >> - not!(punct!(=)) >> - (ty) - )); } #[cfg(feature = "printing")]