authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-17 20:08:13+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-17 20:08:13+02:00
log4ea3a9ba9f867a74f3f6c8908c3ebba0876771f1
treeb3ba6027b3647efb823e17e1c3ed8020406885d8
parent37880f2385fee17a2d2ff4388cbe2b3395ed47fa

fix: comments


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

lib/std/ascii.zig+4-4
...@@ -10,6 +10,8 @@...@@ -10,6 +10,8 @@
1010
11const std = @import("std");11const std = @import("std");
1212
13// TODO: remove all decls marked as DEPRECATED after 0.10.0's release
14
13/// The C0 control codes of the ASCII encoding.15/// The C0 control codes of the ASCII encoding.
14///16///
15/// See also: https://en.wikipedia.org/wiki/C0_and_C1_control_codes and `isControl`.17/// See also: https://en.wikipedia.org/wiki/C0_and_C1_control_codes and `isControl`.
...@@ -141,13 +143,13 @@ pub const control_code = struct {...@@ -141,13 +143,13 @@ pub const control_code = struct {
141 pub const sub = 0x1A;143 pub const sub = 0x1A;
142 /// Escape.144 /// Escape.
143 pub const esc = 0x1B;145 pub const esc = 0x1B;
144 /// File separator.146 /// File Separator.
145 pub const fs = 0x1C;147 pub const fs = 0x1C;
146 /// Group Separator.148 /// Group Separator.
147 pub const gs = 0x1D;149 pub const gs = 0x1D;
148 /// Record Separator.150 /// Record Separator.
149 pub const rs = 0x1E;151 pub const rs = 0x1E;
150 /// Unit separator.152 /// Unit Separator.
151 pub const us = 0x1F;153 pub const us = 0x1F;
152154
153 /// Delete.155 /// Delete.
...@@ -296,8 +298,6 @@ fn inTable(c: u8, t: tIndex) bool {...@@ -296,8 +298,6 @@ fn inTable(c: u8, t: tIndex) bool {
296 return (combinedTable[c] & (@as(u8, 1) << @enumToInt(t))) != 0;298 return (combinedTable[c] & (@as(u8, 1) << @enumToInt(t))) != 0;
297}299}
298300
299// remove all decls marked as DEPRECATED after 0.10.0
300
301/// DEPRECATED: use `isAlphanumeric`301/// DEPRECATED: use `isAlphanumeric`
302pub const isAlNum = isAlphanumeric;302pub const isAlNum = isAlphanumeric;
303/// DEPRECATED: use `isAlpha`303/// DEPRECATED: use `isAlpha`