From 1b174e2f6b6fe90bae0b1472afe57927038cdc0a Mon Sep 17 00:00:00 2001 From: Charles Lew Date: Sat, 30 May 2020 11:30:08 +0800 Subject: [PATCH] Add derive Eq to AugmentedScriptSet. --- src/mixed_script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixed_script.rs b/src/mixed_script.rs index a648da0..52157fd 100644 --- a/src/mixed_script.rs +++ b/src/mixed_script.rs @@ -5,7 +5,7 @@ use unicode_script::{Script, ScriptExtension}; /// An Augmented script set, as defined by UTS 39 /// /// https://www.unicode.org/reports/tr39/#def-augmented-script-set -#[derive(Copy, Clone, PartialEq, Debug, Hash)] +#[derive(Copy, Clone, PartialEq, Debug, Hash, Eq)] pub struct AugmentedScriptSet { /// The base ScriptExtension value pub base: ScriptExtension,