We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8961468 commit f60a82cCopy full SHA for f60a82c
src/uu/sort/src/sort.rs
@@ -2618,7 +2618,7 @@ fn compare_by<'a>(
2618
}
2619
2620
/// 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
+/// We upper each byte on the fly so that binary input (including `NUL`) stays
2622
/// untouched and we avoid locale-sensitive routines such as `strcasecmp`.
2623
fn ascii_case_insensitive_cmp(a: &[u8], b: &[u8]) -> Ordering {
2624
#[inline]
0 commit comments