aboutsummaryrefslogtreecommitdiff
path: root/src/string_immutable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r--src/string_immutable.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig
index 5ee958b40..8f347b047 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;