authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 22:01:52+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 22:04:13+02:00
logee97fbc199a6b5cf04637d044650d407ce44f883
tree59b2b375f12311feab752935386598224cb5aa02
parent846dbf2745561d8c264527973860b16ae698cb9a

api: deprecate `isPunct` too

See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898

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

lib/std/ascii.zig+1
...@@ -278,6 +278,7 @@ pub fn isPrint(c: u8) bool {...@@ -278,6 +278,7 @@ pub fn isPrint(c: u8) bool {
278 return inTable(c, tIndex.Graph) or c == ' ';278 return inTable(c, tIndex.Graph) or c == ' ';
279}279}
280280
281/// DEPRECATED: create your own function based on your needs and what you want to do.
281pub fn isPunct(c: u8) bool {282pub fn isPunct(c: u8) bool {
282 return inTable(c, tIndex.Punct);283 return inTable(c, tIndex.Punct);
283}284}