Skip to content

Commit

Permalink
Fix unused enumerate index lint in ir_to_bc/emitter.rs
Browse files Browse the repository at this point in the history
Reviewed By: paulbiss

Differential Revision: D64899501

fbshipit-source-id: 745629fcf4e943a28d2c0411d1cde6a24e4770f6
  • Loading branch information
jano authored and facebook-github-bot committed Oct 24, 2024
1 parent 94a39c3 commit 058d9f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hphp/hack/src/hackc/ir/conversions/ir_to_bc/emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ impl<'b> InstrEmitter<'b> {
.repr
.params
.iter()
.enumerate()
.map(|(_, (param, _))| {
.map(|(param, _)| {
let name = LocalId::Named(param.name);
let local = hhbc::Local::new(next_local_idx);
next_local_idx += 1;
Expand Down

0 comments on commit 058d9f0

Please sign in to comment.