Skip to content

Commit 14ae306

Browse files
committed
Switch to Unspecified
1 parent 810d169 commit 14ae306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/unnecessary_box_returns.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ impl LateLintPass<'_> for UnnecessaryBoxReturns {
7373
format!("function returns `Box<{boxed_ty}>` when `{boxed_ty}` implements `Sized`").as_str(),
7474
"change the return type to",
7575
boxed_ty.to_string(),
76-
// the return value also needs to be changed, so this can't be MachineApplicable
77-
Applicability::HasPlaceholders,
76+
// the return value and function callers also needs to be changed, so this can't be MachineApplicable
77+
Applicability::Unspecified,
7878
);
7979
}
8080
}

0 commit comments

Comments
 (0)