1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 14:07:46 +00:00

fix a typo

Co-authored-by: Michael Debertol <michael.debertol@gmail.com>
This commit is contained in:
Sylvestre Ledru 2021-04-09 22:18:52 +02:00 committed by GitHub
parent 1253323027
commit a9209049bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()