Skip to content

Commit

Permalink
enable bound on PartialOrd
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Disselkoen <[email protected]>
  • Loading branch information
cdisselkoen committed Jan 6, 2025
1 parent bc05181 commit 0ef8eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trait_handlers/partial_ord/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl TraitHandler for PartialOrdHandler {
// if `contains_ord` is true, the implementation is handled by the `Ord` attribute
if contains_ord {
let _ = TypeAttributeBuilder {
enable_flag: true, enable_bound: false
enable_flag: true, enable_bound: true
}
.build_from_partial_ord_meta(meta)?;

Expand Down

0 comments on commit 0ef8eea

Please sign in to comment.