diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index 650ea373d..ad033724f 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -499,7 +499,7 @@ impl<'a> DiagnosticWrapper<'a> { self.0.help(&format!( "for further information visit https://rust-lang-nursery.github.io/rust-clippy/v{}/index.html#{}", env!("CARGO_PKG_VERSION"), - lint.name_lower() + lint.name_lower().replacen("clippy::", "", 1) )); } } @@ -1115,4 +1115,4 @@ mod test { let result = without_block_comments(vec!["foo", "bar", "baz"]); assert_eq!(result, vec!["foo", "bar", "baz"]); } -} \ No newline at end of file +}