From 23712f84e2f72bc8ac516882888d011e13f8c49a Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sun, 5 Dec 2021 01:04:35 -0300 Subject: Let FloatArgumentType derive more things --- src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.rs') 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> { /// The valid range for this argument. pub range: R, -- cgit 1.4.1