maciejhirsz / beef

Faster, more compact implementation of std::borrow::Cow
https://crates.io/crates/beef
Apache License 2.0
338 stars 17 forks source link

Implement PartialOrd and Ord for Cow and fix Eq impl #29

Closed Luro02 closed 4 years ago

Luro02 commented 4 years ago

Closes #28

I had to remove the #[derive(Eq)], because derive wants Eq to be implemented on all generics and the U: Capacity does not implement it.