authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 21:49:21+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 21:49:21+02:00
log846dbf2745561d8c264527973860b16ae698cb9a
tree1e312227ba0d3147382606002c9076e907930db8
parent8890190857524de10026d3ab0edaca86e8432a5c

docs: remove some hyphens


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/ascii.zig+2-2
...@@ -320,7 +320,7 @@ pub fn isBlank(c: u8) bool {...@@ -320,7 +320,7 @@ pub fn isBlank(c: u8) bool {
320 return (c == ' ') or (c == '\x09');320 return (c == ' ') or (c == '\x09');
321}321}
322322
323/// Upper-cases the character and returns it as-is if it's already upper-cased.323/// Uppercases the character and returns it as-is if it's already uppercased.
324pub fn toUpper(c: u8) u8 {324pub fn toUpper(c: u8) u8 {
325 if (isLower(c)) {325 if (isLower(c)) {
326 return c & 0b11011111;326 return c & 0b11011111;
...@@ -329,7 +329,7 @@ pub fn toUpper(c: u8) u8 {...@@ -329,7 +329,7 @@ pub fn toUpper(c: u8) u8 {
329 }329 }
330}330}
331331
332/// Lower-cases the character and returns it as-is if it's already lower-cased.332/// Lowercases the character and returns it as-is if it's already lowercased.
333pub fn toLower(c: u8) u8 {333pub fn toLower(c: u8) u8 {
334 if (isUpper(c)) {334 if (isUpper(c)) {
335 return c | 0b00100000;335 return c | 0b00100000;