Marwes / combine

A parser combinator library for Rust
https://docs.rs/combine/*/combine/
MIT License
1.29k stars 93 forks source link

Remove extraneous Input::Error trait bounds #353

Closed softmoth closed 1 year ago

softmoth commented 1 year ago

Due to an old Rust bug, rust-lang/rust#24159, many parsers included an extraneous trait bound for Input::Error as a workaround. That bug has been closed since February 2021, and the workaround is no longer needed.

There are a few places I did NOT remove Input::Error bound from the where clause, which would be nice to eliminate but I think may be required: