diff options
Diffstat (limited to 'src/wrap_algorithms/optimal_fit.rs')
-rw-r--r-- | src/wrap_algorithms/optimal_fit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrap_algorithms/optimal_fit.rs b/src/wrap_algorithms/optimal_fit.rs index 0625e28..ef2f333 100644 --- a/src/wrap_algorithms/optimal_fit.rs +++ b/src/wrap_algorithms/optimal_fit.rs @@ -19,7 +19,7 @@ use crate::core::Fragment; /// /// **Note:** Only available when the `smawk` Cargo feature is /// enabled. -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, PartialEq)] pub struct Penalties { /// Per-line penalty. This is added for every line, which makes it /// expensive to output more lines than the minimum required. |