From 767bd168c19b261ee0952a5ae9c2b0858234cf0a Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 19 Nov 2014 14:34:18 +0530 Subject: [PATCH] moar clippylike --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }); }