From ee97fbc199a6b5cf04637d044650d407ce44f883 Mon Sep 17 00:00:00 2001 From: r00ster91 Date: Sun, 14 Aug 2022 22:01:52 +0200 Subject: [PATCH] api: deprecate `isPunct` too See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898 --- lib/std/ascii.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/ascii.zig b/lib/std/ascii.zig index 07d2e065bf..55946cfc33 100644 --- a/lib/std/ascii.zig +++ b/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); }