diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-10-25 11:50:56 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-10-30 12:27:47 +0100 |
| commit | 1c8c3d14ef6f9ab297103c526ba4b6023822aa87 (patch) | |
| tree | c910980c474a68a6dab4dcbcc7b7c71fec0cda09 | |
| parent | 4a06145ced52c741ca27c143bbc6bf98ccba1ec6 (diff) | |
Remove implicit `Continue` type
| -rw-r--r-- | clippy_lints/src/redundant_clone.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/redundant_clone.rs b/clippy_lints/src/redundant_clone.rs index ae9ac13d7e9..ae3b0a03754 100644 --- a/clippy_lints/src/redundant_clone.rs +++ b/clippy_lints/src/redundant_clone.rs @@ -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 } } |
