mgeisler / textwrap

An efficient and powerful Rust library for word wrapping text.
MIT License
449 stars 44 forks source link

Also derive `Eq` for `Penalties` #483

Closed mgeisler closed 1 year ago

mgeisler commented 1 year ago

This is from clippy::derive_partial_eq_without_eq. The lint has known false positives and has been moved to the nursery on the nightly compiler, though it seems okay in this case:

https://github.com/rust-lang/rust-clippy/issues/9530