summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 10b8fea..ca35bfb 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -251,7 +251,7 @@ where
 }
 
 /// A float argument.
-#[derive(Copy, Clone, PartialEq, Debug, PartialOrd, Default)]
+#[derive(Copy, Clone, PartialEq, Eq, Debug, PartialOrd, Ord, Hash, Default)]
 pub struct FloatArgumentType<T, R: RangeBounds<T>> {
     /// The valid range for this argument.
     pub range: R,