mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 07:18:19 +02:00
Run a round of clippy --fix to fix a ton of lints (#7006)
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com> Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
This commit is contained in:
@ -96,7 +96,7 @@ pub fn median(values: &[Value], head: &Span) -> Result<Value, ShellError> {
|
||||
Ok(out.clone())
|
||||
}
|
||||
Pick::MedianAverage => {
|
||||
let idx_end = (values.len() / 2) as usize;
|
||||
let idx_end = values.len() / 2;
|
||||
let idx_start = idx_end - 1;
|
||||
|
||||
let left = sorted
|
||||
|
Reference in New Issue
Block a user