Skip to content

Commit ee8c51b

Browse files
authored
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
1 parent 1850c89 commit ee8c51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ impl<'a> DiagnosticWrapper<'a> {
566566
fn docs_link(&mut self, lint: &'static Lint) {
567567
if env::var("CLIPPY_DISABLE_DOCS_LINKS").is_err() {
568568
self.0.help(&format!(
569-
"for further information visit https://rust-lang-nursery.github.io/rust-clippy/{}/index.html#{}",
569+
"for further information visit https://rust-lang-nursery.github.io/rust-clippy/v{}/index.html#{}",
570570
env!("CARGO_PKG_VERSION"),
571571
lint.name_lower()
572572
));

0 commit comments

Comments
 (0)