Skip to content

Commit 240fcdf

Browse files
committed
Match ergonomics
1 parent 8c1b0d7 commit 240fcdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_save_analysis/dump_visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> DumpVisitor<'l, 'tcx, 'll, O> {
12431243
// 'def' and the name here should be a ref to the def in the
12441244
// trait.
12451245
for bound in bounds.iter() {
1246-
if let ast::GenericBound::Trait(ref trait_ref, _) = *bound {
1246+
if let ast::GenericBound::Trait(trait_ref, _) = bound {
12471247
self.process_path(trait_ref.trait_ref.ref_id, &trait_ref.trait_ref.path)
12481248
}
12491249
}

0 commit comments

Comments
 (0)