mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Fix ignored clippy lints (#12160)
# Description Fixes some ignored clippy lints. # User-Facing Changes Changes some signatures and return types to `&dyn Command` instead of `&Box<dyn Command`, but I believe this is only an internal change.
This commit is contained in:
@ -86,13 +86,12 @@ fn test_int(
|
||||
},
|
||||
) = &expressions.elements[0]
|
||||
{
|
||||
compare_rhs_binaryOp(test_tag, &expected_val, observed_val);
|
||||
compare_rhs_binary_op(test_tag, &expected_val, observed_val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
fn compare_rhs_binaryOp(
|
||||
fn compare_rhs_binary_op(
|
||||
test_tag: &str,
|
||||
expected: &Expr, // the rhs expr we hope to see (::Int, ::Float, not ::B)
|
||||
observed: &Expr, // the Expr actually provided: can be ::Int, ::Float, ::String,
|
||||
|
Reference in New Issue
Block a user