Skip to content

Commit 33aeb7e

Browse files
committed
apply [needless_return] suggestion
1 parent af35dcd commit 33aeb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/useless_conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl<'tcx> LateLintPass<'tcx> for UselessConversion {
217217
},
218218
ExprKind::MethodCall(.., args, _) => {
219219
cx.typeck_results().type_dependent_def_id(parent.hir_id).map(|did| {
220-
return (
220+
(
221221
did,
222222
args,
223223
cx.typeck_results().node_args(parent.hir_id),

0 commit comments

Comments
 (0)