Skip to content

Commit 4ea3a9b

Browse files
committed
fix: comments
1 parent 37880f2 commit 4ea3a9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/std/ascii.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
const std = @import("std");
1212

13+
// TODO: remove all decls marked as DEPRECATED after 0.10.0's release
14+
1315
/// The C0 control codes of the ASCII encoding.
1416
///
1517
/// See also: https://en.wikipedia.org/wiki/C0_and_C1_control_codes and `isControl`.
@@ -141,13 +143,13 @@ pub const control_code = struct {
141143
pub const sub = 0x1A;
142144
/// Escape.
143145
pub const esc = 0x1B;
144-
/// File separator.
146+
/// File Separator.
145147
pub const fs = 0x1C;
146148
/// Group Separator.
147149
pub const gs = 0x1D;
148150
/// Record Separator.
149151
pub const rs = 0x1E;
150-
/// Unit separator.
152+
/// Unit Separator.
151153
pub const us = 0x1F;
152154

153155
/// Delete.
@@ -296,8 +298,6 @@ fn inTable(c: u8, t: tIndex) bool {
296298
return (combinedTable[c] & (@as(u8, 1) << @enumToInt(t))) != 0;
297299
}
298300

299-
// remove all decls marked as DEPRECATED after 0.10.0
300-
301301
/// DEPRECATED: use `isAlphanumeric`
302302
pub const isAlNum = isAlphanumeric;
303303
/// DEPRECATED: use `isAlpha`

0 commit comments

Comments
 (0)