authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 21:43:40+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 21:43:40+02:00
log028134055cca7c8ec9799a0fea4bccf285e5b722
tree456093122384901f49ee6ee83bbf41004f5c4835
parent9b79c6ae522f46c48352897dba0bdc9376b0cd78

fix: remove outdated TODO

It was supposed to be removed: https://github.com/ziglang/zig/commit/490654c332f2d8eaf7edffa35ea0523800df998d#r47643278

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

lib/std/ascii.zig+1-2
...@@ -517,8 +517,7 @@ pub fn orderIgnoreCase(lhs: []const u8, rhs: []const u8) std.math.Order {...@@ -517,8 +517,7 @@ pub fn orderIgnoreCase(lhs: []const u8, rhs: []const u8) std.math.Order {
517 return std.math.order(lhs.len, rhs.len);517 return std.math.order(lhs.len, rhs.len);
518}518}
519519
520/// Returns true if lhs < rhs, false otherwise520/// Returns whether `lhs` < `rhs`.
521/// TODO rename "IgnoreCase" to "Insensitive" in this entire file.
522pub fn lessThanIgnoreCase(lhs: []const u8, rhs: []const u8) bool {521pub fn lessThanIgnoreCase(lhs: []const u8, rhs: []const u8) bool {
523 return orderIgnoreCase(lhs, rhs) == .lt;522 return orderIgnoreCase(lhs, rhs) == .lt;
524}523}