Apply nightly clippy fixes (#9381)

# Description
New lints coming from `cargo +nightly clippy`

Manually checked for problems.


# User-Facing Changes
None

# Tests + Formatting
(-)
This commit is contained in:
Stefan Holderbach
2023-06-08 18:49:58 +02:00
committed by GitHub
parent 74ba00a222
commit a5dd93d154
8 changed files with 21 additions and 23 deletions

View File

@ -176,7 +176,6 @@ fn get_arguments(engine_state: &EngineState, stack: &mut Stack, call: Call) -> V
span: name.span,
};
arg_value.push(rec);
} else {
};
if let Some(expression) = opt_expr {
@ -207,7 +206,6 @@ fn get_arguments(engine_state: &EngineState, stack: &mut Stack, call: Call) -> V
span: expression.span,
};
arg_value.push(rec);
} else {
};
}
Argument::Positional(inner_expr) => {