Fix clippy lint
This commit is contained in:
parent
fd7979d46d
commit
621e948721
@ -190,8 +190,7 @@ fn check_call<'b>(
|
|||||||
let casted_args: Vec<_> = param_types
|
let casted_args: Vec<_> = param_types
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.zip(args.iter())
|
.zip(args.iter())
|
||||||
.enumerate()
|
.map(|(expected_ty, &actual_val)| {
|
||||||
.map(|(_i, (expected_ty, &actual_val))| {
|
|
||||||
let actual_ty = actual_val.get_type();
|
let actual_ty = actual_val.get_type();
|
||||||
if expected_ty != actual_ty {
|
if expected_ty != actual_ty {
|
||||||
self.bitcast(actual_val, expected_ty)
|
self.bitcast(actual_val, expected_ty)
|
||||||
|
Loading…
Reference in New Issue
Block a user