From 7eb8634ad770e32b394ffd69956ee7f35b00776e Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Fri, 1 Jan 2021 19:34:50 -0500 Subject: [PATCH] Fix typo in `sort-by` error message (#2841) --- crates/nu-cli/src/commands/sort_by.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/src/commands/sort_by.rs b/crates/nu-cli/src/commands/sort_by.rs index 29041c84b1..fc842facc9 100644 --- a/crates/nu-cli/src/commands/sort_by.rs +++ b/crates/nu-cli/src/commands/sort_by.rs @@ -134,7 +134,7 @@ pub fn sort( { let (type_1, type_2) = values .err() - .expect("An error ocourred in the checking of types"); + .expect("An error occurred in the checking of types"); return Err(ShellError::labeled_error( "Not all values can be compared", format!(