Skip to content

Commit a864db9

Browse files
committed
Remove not needed &mut
1 parent e9aa88f commit a864db9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/rustc_ast_lowering/src

compiler/rustc_ast_lowering/src/item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl<'hir> ItemLowerer<'_, '_, 'hir> {
5858
owner: NodeId,
5959
f: impl FnOnce(&mut LoweringContext<'_, '_, 'hir>) -> hir::OwnerNode<'hir>,
6060
) {
61-
let mut lctx = LoweringContext::new(self.tcx, self.ast_index, &mut self.resolver);
61+
let mut lctx = LoweringContext::new(self.tcx, self.ast_index, self.resolver);
6262
lctx.with_hir_id_owner(owner, |lctx| f(lctx));
6363

6464
for (def_id, info) in lctx.children {

0 commit comments

Comments
 (0)