assert-rs / predicates-rs

Boolean-valued predicate functions in Rust
docs.rs/predicates
Apache License 2.0
173 stars 29 forks source link

impl Send and Sync for BooleanPredicate #72

Closed asomers closed 5 years ago

asomers commented 5 years ago

There is no reason that BooleanPredicate needs to be parameterized. Removing its generic parameter allows it to always be Send and Sync regardless of what type it's matching.