-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clippy links to master
instead of actual version
#4167
Comments
The IMO better solution would be to make old links redirect to the new one when lint is renamed. |
We need to completely overhaul the versioning here. For now I think we should get rid of the old versions from the list and make the homepage redirect to |
Oh! I just checked on Github and yes, it really is a year old. Having no versions might make it hard to refer to a specific version then. If I use a certain toolchain version, am I guaranteed that everyone is using the same Clippy? |
Yeah so the clippy version is actually the Rust version (try |
Hello everyone,
whenever Clippy suggests a change, it links to further information on its website.
However the link always directs to master, hence if a lint-name changes, the link becomes invalid.
One example is
cognitive_complexity
.We can find it on
master
: https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexityBut not on
v0.0.212
, as there seems to be a name-change: https://rust-lang.github.io/rust-clippy/v0.0.212/index.html#cyclomatic_complexityIt once linked me: https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity
To no success obviously.
It would be great if Clippy would link to the correct version. E.g.
v0.0.212
links to https://rust-lang.github.io/rust-clippy/v0.0.212I would be willingly to contribute this change too!
Thanks for your time, keep the great work up : )
The text was updated successfully, but these errors were encountered: