[strings] Fix typo in string_immutable.zig

occurences -> occurrences
This commit is contained in:
Ikko Ashimine
2022-07-07 02:12:22 +09:00
committed by Jarred Sumner
parent 1f887bb863
commit 6c5472a84c

View File

@@ -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;