mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 12:51:45 -04:00
make key hash eql case sensitive
This commit is contained in:
1 file changed
+1
-1
@@ -50,7 +50,7 @@ const KeyContext = struct {
|
||||
}
|
||||
|
||||
pub fn eql(_: KeyContext, a: Key, b: Key) bool {
|
||||
return std.ascii.eqlIgnoreCase(a.origin, b.origin) and std.ascii.eqlIgnoreCase(a.target, b.target);
|
||||
return std.mem.eql(u8, a.origin, b.origin) and std.mem.eql(u8, a.target, b.target);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user