mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
Fix "further information" link
"further information" link was missing the `v` part from the url. e.g. wrong (404 notfound): https://rust-lang-nursery.github.io/rust-clippy/0.0.157/index.html#map_entry correct: https://rust-lang-nursery.github.io/rust-clippy/v0.0.157/index.html#map_entry
This commit is contained in:
parent
1850c89528
commit
ee8c51be00
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