Skip to content

Commit 7dbb5e3

Browse files
committed
Use binding autoref, because we can.
1 parent 42255d9 commit 7dbb5e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ich/impls_hir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,10 @@ impl<'a> HashStable<StableHashingContext<'a>> for hir::TraitCandidate {
391391
hcx: &mut StableHashingContext<'a>,
392392
hasher: &mut StableHasher<W>) {
393393
hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| {
394-
let &hir::TraitCandidate {
394+
let hir::TraitCandidate {
395395
def_id,
396396
import_ids,
397-
} = &self;
397+
} = self;
398398

399399
def_id.hash_stable(hcx, hasher);
400400
// We only use the outermost import NodeId as key

0 commit comments

Comments
 (0)