From 6c5472a84cc96cf9be60dfaeab9ad908bfdec79f Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 7 Jul 2022 02:12:22 +0900 Subject: [PATCH] [strings] Fix typo in string_immutable.zig occurences -> occurrences --- src/string_immutable.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;