diff --git a/ucan/src/capability/semantics.rs b/ucan/src/capability/semantics.rs index 65966fb4..6c1c22e9 100644 --- a/ucan/src/capability/semantics.rs +++ b/ucan/src/capability/semantics.rs @@ -7,7 +7,7 @@ pub trait Scope: ToString + TryFrom + PartialEq + Clone { fn contains(&self, other: &Self) -> bool; } -pub trait Ability: Ord + TryFrom + ToString + Clone {} +pub trait Ability: PartialOrd + TryFrom + ToString + Clone {} #[derive(Clone, Eq, PartialEq)] pub enum ResourceUri