We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8f495 commit ec57fb0Copy full SHA for ec57fb0
1 file changed
crabdis-core/src/ascii_map.rs
@@ -32,7 +32,7 @@ impl<T: AsRef<str> + ?Sized> Hash for AsciiKey<T> {
32
#[inline]
33
fn hash<H: Hasher>(&self, state: &mut H) {
34
for byte in self.0.as_ref().bytes() {
35
- state.write_u8(byte.to_ascii_lowercase());
+ state.write_u8(byte.to_ascii_uppercase());
36
}
37
// Hash the length to distinguish "a" from "aa" etc.
38
state.write_usize(self.0.as_ref().len());
0 commit comments