Marwes / combine

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

Removed unnecessary PartialEq constraint from some stream trait impls. #314

Open johnw42 opened 3 years ago

johnw42 commented 3 years ago

Also added unit test to verify the impls work for types that don't implement PartialEq.

The specific use case I wanted to support was to run a parser on a SliceStream, but I believe the constraints I removed are just generally unnecessary.