diff --git a/src/types.rs b/src/types.rs index 930223de7709..1b3c4f73c77f 100644 --- a/src/types.rs +++ b/src/types.rs @@ -53,7 +53,7 @@ impl LintPass for TypePass { .map(|t| match_ty_unwrap(&**t, &["std", "vec", "Vec"])) .map(|_| { span_note_and_lint(cx, CLIPPY_BOX_VEC, ty.span, - "Detected Box>. Did you mean to use Vec?", + "You seem to be trying to use Box>. Did you mean to use Vec?", "Vec is already on the heap, Box> makes an extra allocation"); }); }