Skip to content

Commit c1b9915

Browse files
committed
Fix weird dogfood error
1 parent 7a73a25 commit c1b9915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/redundant_closure_call.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl<'tcx> LateLintPass<'tcx> for RedundantClosureCall {
104104
cx: &'a LateContext<'tcx>,
105105
path: &'tcx hir::Path<'tcx>,
106106
count: usize,
107-
};
107+
}
108108
impl<'a, 'tcx> hir_visit::Visitor<'tcx> for ClosureUsageCount<'a, 'tcx> {
109109
type Map = Map<'tcx>;
110110

@@ -124,7 +124,7 @@ impl<'tcx> LateLintPass<'tcx> for RedundantClosureCall {
124124
fn nested_visit_map(&mut self) -> hir_visit::NestedVisitorMap<Self::Map> {
125125
hir_visit::NestedVisitorMap::OnlyBodies(self.cx.tcx.hir())
126126
}
127-
};
127+
}
128128
let mut closure_usage_count = ClosureUsageCount { cx, path, count: 0 };
129129
closure_usage_count.visit_block(block);
130130
closure_usage_count.count

0 commit comments

Comments
 (0)