mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
Merge pull request #2020 from 0xbsec/patch-1
Fix "further information" link
This commit is contained in:
commit
c710ac839f
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ impl<'a> DiagnosticWrapper<'a> {
|
|||
fn docs_link(&mut self, lint: &'static Lint) {
|
||||
if env::var("CLIPPY_DISABLE_DOCS_LINKS").is_err() {
|
||||
self.0.help(&format!(
|
||||
"for further information visit https://rust-lang-nursery.github.io/rust-clippy/{}/index.html#{}",
|
||||
"for further information visit https://rust-lang-nursery.github.io/rust-clippy/v{}/index.html#{}",
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
lint.name_lower()
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue