commit 750d4906a55f64736a4e438ca88fb00e8da7b2c7
parent f7c1175c1bf2188603c5d9b99ef2b5ac6059c04f
Author: Sebastian <sebastian@sebsite.pw>
Date: Wed, 31 May 2023 01:06:21 -0400
ascii: consistent capitalization in docs
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ascii/string.ha b/ascii/string.ha
@@ -34,8 +34,8 @@ export fn strupper(s: str) str = {
return strings::fromutf8(new)!;
};
-// Compares two strings by their sort order, treating all ascii capital letters
-// as their lowercase counterpart (i.e. an ascii-case-insensitive comparison is
+// Compares two strings by their sort order, treating all ASCII capital letters
+// as their lowercase counterpart (i.e. an ASCII-case-insensitive comparison is
// performed). Zero is returned if the strings are equal, a negative value if a
// is less than b, or a positive value if a is greater than b.
export fn strcasecmp(a: str, b: str) int = {