diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 5ee958b407..8f347b047b 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -482,7 +482,7 @@ pub fn eqlAnyComptime(self: string, comptime list: []const string) bool { return false; } -/// Count the occurences of a character in an ASCII byte array +/// Count the occurrences of a character in an ASCII byte array /// uses SIMD pub fn countChar(self: string, char: u8) usize { var total: usize = 0;