From 846dbf2745561d8c264527973860b16ae698cb9a Mon Sep 17 00:00:00 2001 From: r00ster91 Date: Sun, 14 Aug 2022 21:49:21 +0200 Subject: [PATCH] docs: remove some hyphens --- lib/std/ascii.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/ascii.zig b/lib/std/ascii.zig index 50715a9ca2..07d2e065bf 100644 --- a/lib/std/ascii.zig +++ b/lib/std/ascii.zig @@ -320,7 +320,7 @@ pub fn isBlank(c: u8) bool { return (c == ' ') or (c == '\x09'); } -/// Upper-cases the character and returns it as-is if it's already upper-cased. +/// Uppercases the character and returns it as-is if it's already uppercased. pub fn toUpper(c: u8) u8 { if (isLower(c)) { return c & 0b11011111; @@ -329,7 +329,7 @@ pub fn toUpper(c: u8) u8 { } } -/// Lower-cases the character and returns it as-is if it's already lower-cased. +/// Lowercases the character and returns it as-is if it's already lowercased. pub fn toLower(c: u8) u8 { if (isUpper(c)) { return c | 0b00100000;