Skip to content

Commit f60a82c

Browse files
Update src/uu/sort/src/sort.rs
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
1 parent 8961468 commit f60a82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/sort/src/sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2618,7 +2618,7 @@ fn compare_by<'a>(
26182618
}
26192619

26202620
/// Compare two byte slices in ASCII case-insensitive order without allocating.
2621-
/// We lower each byte on the fly so that binary input (including `NUL`) stays
2621+
/// We upper each byte on the fly so that binary input (including `NUL`) stays
26222622
/// untouched and we avoid locale-sensitive routines such as `strcasecmp`.
26232623
fn ascii_case_insensitive_cmp(a: &[u8], b: &[u8]) -> Ordering {
26242624
#[inline]

0 commit comments

Comments
 (0)