Skip to content

Commit 1c8c3d1

Browse files
Remove implicit Continue type
1 parent 4a06145 commit 1c8c3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/redundant_clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ impl<'a, 'tcx> mir::visit::Visitor<'tcx> for PossibleBorrowerVisitor<'a, 'tcx> {
559559
struct ContainsRegion;
560560

561561
impl TypeVisitor<'_> for ContainsRegion {
562-
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<(), ()> {
562+
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<()> {
563563
ControlFlow::BREAK
564564
}
565565
}

0 commit comments

Comments
 (0)