summaryrefslogtreecommitdiffstats
path: root/vendor/clap_builder/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap_builder/src/util')
-rw-r--r--vendor/clap_builder/src/util/any_value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/clap_builder/src/util/any_value.rs b/vendor/clap_builder/src/util/any_value.rs
index 6f1e3665e..19aa82b4f 100644
--- a/vendor/clap_builder/src/util/any_value.rs
+++ b/vendor/clap_builder/src/util/any_value.rs
@@ -65,7 +65,7 @@ impl Eq for AnyValueId {}
impl PartialOrd for AnyValueId {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
- self.type_id.partial_cmp(&other.type_id)
+ Some(self.cmp(other))
}
}