more clippylike (from issue title)

This commit is contained in:
Manish Goregaokar 2014-11-20 12:38:27 +05:30
parent ae635a60e6
commit 7bb411c239

View file

@ -75,7 +75,7 @@ impl LintPass for TypePass {
for path in dlists.iter() {
if match_ty_unwrap(ty, path.as_slice()).is_some() {
span_note_and_lint(cx, CLIPPY_DLIST, ty.span,
"You seem to be trying to use a DList. Perhaps you meant some other data structure?",
"I see you're using a DList! Perhaps you meant some other data structure?",
"A RingBuf might work.");
return;
}