From ebb02529e45b1ac8bd2fe53c574aeef516c56845 Mon Sep 17 00:00:00 2001 From: Giuliano Bellini s294739 Date: Fri, 10 Nov 2023 11:35:23 +0100 Subject: [PATCH] undo derive Ord and PartialOrd for Language --- src/translations/types/language.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translations/types/language.rs b/src/translations/types/language.rs index d46d6b8e..d4d0eb08 100644 --- a/src/translations/types/language.rs +++ b/src/translations/types/language.rs @@ -9,7 +9,7 @@ use crate::countries::flags_pictures::{ use crate::StyleType; /// This enum defines the available languages. -#[derive(PartialEq, Eq, Clone, Copy, Debug, Serialize, Deserialize, Hash, PartialOrd, Ord)] +#[derive(PartialEq, Eq, Clone, Copy, Debug, Serialize, Deserialize, Hash)] pub enum Language { /// English (default language). EN,