From a9209049bf586ce40008d6a1151d2f21adef3c10 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 9 Apr 2021 22:18:52 +0200 Subject: [PATCH] fix a typo Co-authored-by: Michael Debertol --- src/uu/sort/src/sort.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/sort/src/sort.rs b/src/uu/sort/src/sort.rs index 211f87672..4aa3fbed2 100644 --- a/src/uu/sort/src/sort.rs +++ b/src/uu/sort/src/sort.rs @@ -607,7 +607,7 @@ fn default_compare(a: &str, b: &str) -> Ordering { fn leading_num_common(a: &str) -> &str { let mut s = ""; - // check whether char is numeric, whitespace or decimal point or thousand seperator + // check whether char is numeric, whitespace or decimal point or thousand separator for (idx, c) in a.char_indices() { if !c.is_numeric() && !c.is_whitespace()