Skip to content

Commit 3722fc6

Browse files
committed
Make clippy happy
1 parent dcd3512 commit 3722fc6

File tree

1 file changed

+2
-2
lines changed
  • crates/rustc_codegen_spirv/src/linker

1 file changed

+2
-2
lines changed

crates/rustc_codegen_spirv/src/linker/inline.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn compute_function_postorder(
116116
&mut states[..],
117117
&mut has_recursion,
118118
&mut postorder,
119-
&func_to_index,
119+
func_to_index,
120120
);
121121
}
122122
}
@@ -520,7 +520,7 @@ fn insert_opvariable(block: &mut Block, ptr_ty: Word, result_id: Word) {
520520
Some(result_id),
521521
vec![Operand::StorageClass(StorageClass::Function)],
522522
);
523-
block.instructions.insert(index, inst)
523+
block.instructions.insert(index, inst);
524524
}
525525

526526
fn insert_opvariables(block: &mut Block, insts: Vec<Instruction>) {

0 commit comments

Comments
 (0)