diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 940589219a..4d6de1717c 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -52,13 +52,13 @@ steps: - bash: RUSTFLAGS="-D warnings" cargo test --all --features stable condition: eq(variables['style'], 'unflagged') displayName: Run tests - - bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::result_unwrap_used -D clippy::option_unwrap_used + - bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::unwrap_used condition: eq(variables['style'], 'unflagged') displayName: Check clippy lints - bash: RUSTFLAGS="-D warnings" cargo test --all --features stable condition: eq(variables['style'], 'canary') displayName: Run tests - - bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::result_unwrap_used -D clippy::option_unwrap_used + - bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::unwrap_used condition: eq(variables['style'], 'canary') displayName: Check clippy lints - bash: RUSTFLAGS="-D warnings" cargo test --all --no-default-features diff --git a/crates/nu-cli/src/commands/histogram.rs b/crates/nu-cli/src/commands/histogram.rs index ad9f325b3e..0819cf172a 100644 --- a/crates/nu-cli/src/commands/histogram.rs +++ b/crates/nu-cli/src/commands/histogram.rs @@ -96,9 +96,9 @@ pub async fn histogram( let frequency_column_name = if columns.is_empty() { "frequency".to_string() } else if let Some((key, _)) = columns[0].split_last() { - key.as_string() + key.as_string() } else { - "frecuency".to_string() + "frecuency".to_string() }; let column = if let Some(ref column) = column_grouper {