Commit ee97fbc199

r00ster91 <r00ster91@proton.me>
2022-08-14 22:01:52
api: deprecate `isPunct` too
See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898
1 parent 846dbf2
Changed files (1)
lib
lib/std/ascii.zig
@@ -278,6 +278,7 @@ pub fn isPrint(c: u8) bool {
     return inTable(c, tIndex.Graph) or c == ' ';
 }
 
+/// DEPRECATED: create your own function based on your needs and what you want to do.
 pub fn isPunct(c: u8) bool {
     return inTable(c, tIndex.Punct);
 }