Skip to content

Commit

Permalink
fix: relax ord constraint (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra authored May 22, 2024
1 parent e74e6ca commit 17fcbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<N: Eq + Hash> PackageName for N {}
/// returns `true` if a given `u32` is part of the range or not.
pub trait VersionSet: Debug + Display + Clone + Eq + Hash {
/// The element type that is included in the set.
type V: Display + Ord;
type V: Display;

/// Evaluate membership of a version in this set.
fn contains(&self, v: &Self::V) -> bool;
Expand Down

0 comments on commit 17fcbe5

Please sign in to comment.