From 38347bad3868aee11e2b47db5ae15a39829becd7 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Fri, 1 Feb 2019 08:42:01 +0100 Subject: [PATCH] Make vec_box MachineApplicable --- clippy_lints/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 75e2f75ffcd..6ee7d10155c 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -289,7 +289,7 @@ fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) { "`Vec` is already on the heap, the boxing is unnecessary.", "try", format!("Vec<{}>", ty_ty), - Applicability::MaybeIncorrect, + Applicability::MachineApplicable, ); return; // don't recurse into the type }