Skip to content

Commit 38347ba

Browse files
committed
Make vec_box MachineApplicable
1 parent 4aff871 commit 38347ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
289289
"`Vec<T>` is already on the heap, the boxing is unnecessary.",
290290
"try",
291291
format!("Vec<{}>", ty_ty),
292-
Applicability::MaybeIncorrect,
292+
Applicability::MachineApplicable,
293293
);
294294
return; // don't recurse into the type
295295
}

0 commit comments

Comments
 (0)