Skip to content

Commit c092c02

Browse files
committed
Remove an unnecessary reference
1 parent d72b617 commit c092c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_codegen_llvm/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ impl MiscMethods<'tcx> for CodegenCx<'ll, 'tcx> {
332332
}
333333

334334
fn get_fn(&self, instance: Instance<'tcx>) -> &'ll Value {
335-
get_fn(&&self,instance)
335+
get_fn(self, instance)
336336
}
337337

338338
fn get_param(&self, llfn: &'ll Value, index: c_uint) -> &'ll Value {

0 commit comments

Comments
 (0)