Skip to content

Commit

Permalink
Remove implicit Continue type
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed Oct 30, 2020
1 parent 4a06145 commit 1c8c3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_clone.rs
Expand Up @@ -559,7 +559,7 @@ impl<'a, 'tcx> mir::visit::Visitor<'tcx> for PossibleBorrowerVisitor<'a, 'tcx> {
struct ContainsRegion;

impl TypeVisitor<'_> for ContainsRegion {
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<(), ()> {
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<()> {
ControlFlow::BREAK
}
}
Expand Down

0 comments on commit 1c8c3d1

Please sign in to comment.