diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-03-28 00:55:45 +0100 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2024-07-02 12:21:25 -0400 |
| commit | 621e948721abb85f9b075027180e3f15416efcfc (patch) | |
| tree | d295cf712a43ba94514692a389941528e868e8ab | |
| parent | fd7979d46d3b19360e48fb54118761ecaed37c20 (diff) | |
| download | rust-621e948721abb85f9b075027180e3f15416efcfc.tar.gz rust-621e948721abb85f9b075027180e3f15416efcfc.zip | |
Fix clippy lint
| -rw-r--r-- | src/builder.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/builder.rs b/src/builder.rs index b4a01d3c065..f85971d1657 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -190,8 +190,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> { 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) |
