aboutsummaryrefslogtreecommitdiff
path: root/lib/std/hash_map.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/hash_map.zig')
-rw-r--r--lib/std/hash_map.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/hash_map.zig b/lib/std/hash_map.zig
index c8e2c70a1a..58c9397a6b 100644
--- a/lib/std/hash_map.zig
+++ b/lib/std/hash_map.zig
@@ -110,7 +110,7 @@ pub const StringIndexAdapter = struct {
}
pub fn hash(_: @This(), adapted_key: []const u8) u64 {
- assert(mem.indexOfScalar(u8, adapted_key, 0) == null);
+ assert(mem.findScalar(u8, adapted_key, 0) == null);
return hashString(adapted_key);
}
};