Fix clippy lint

This commit is contained in:
Guillaume Gomez 2024-03-28 00:55:45 +01:00 committed by Antoni Boucher
parent fd7979d46d
commit 621e948721

View File

@ -190,8 +190,7 @@ fn check_call<'b>(
let casted_args: Vec<_> = param_types
.into_iter()
.zip(args.iter())
.enumerate()
.map(|(_i, (expected_ty, &actual_val))| {
.map(|(expected_ty, &actual_val)| {
let actual_ty = actual_val.get_type();
if expected_ty != actual_ty {
self.bitcast(actual_val, expected_ty)