From 9d875790762089b37c968af9481c3da9a8c4c8a1 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sat, 24 Feb 2024 19:42:35 -0600 Subject: [PATCH] key: remove duplicate match rule --- src/Key.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Key.zig b/src/Key.zig index 877ddfa..1c19186 100644 --- a/src/Key.zig +++ b/src/Key.zig @@ -57,9 +57,6 @@ pub fn matches(self: Key, cp: u21, mods: Modifiers) bool { // rule 3 if (self.matchShiftedCodepoint(cp, mods)) return true; - // rule 4 - if (self.matchShiftedCodepoint(cp, mods)) return true; - return false; }