| ... | @@ -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 | } |
| 519 | | 519 | |
| 520 | /// Returns true if lhs < rhs, false otherwise | 520 | /// Returns whether `lhs` < `rhs`. |
| 521 | /// TODO rename "IgnoreCase" to "Insensitive" in this entire file. | | |
| 522 | pub fn lessThanIgnoreCase(lhs: []const u8, rhs: []const u8) bool { | 521 | pub fn lessThanIgnoreCase(lhs: []const u8, rhs: []const u8) bool { |
| 523 | return orderIgnoreCase(lhs, rhs) == .lt; | 522 | return orderIgnoreCase(lhs, rhs) == .lt; |
| 524 | } | 523 | } |