key: remove duplicate match rule

This commit is contained in:
Tim Culverhouse 2024-02-24 19:42:35 -06:00
parent d51530cb73
commit 9d87579076

View file

@ -57,9 +57,6 @@ pub fn matches(self: Key, cp: u21, mods: Modifiers) bool {
// rule 3 // rule 3
if (self.matchShiftedCodepoint(cp, mods)) return true; if (self.matchShiftedCodepoint(cp, mods)) return true;
// rule 4
if (self.matchShiftedCodepoint(cp, mods)) return true;
return false; return false;
} }