-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Have a proper 404 page for rust-lang.org and static.rust-lang.org #11896
Comments
For static.rust-lang.org, it should detect whether it is inside /doc/REVISION/CRATE/ and if it is, do these sorts of things:
These are all entirely feasible with the one static document, using |
Of course, that can be done incrementally. Even a really boring HTML page with a few static links would be orders of magnitude better than what we have now. |
We could also redirect |
(We now have cross-crate search, fwiw.) |
nominating. I think we need to do this properly before releasing 1.0. |
Assigning P-high, 1.0. |
Closing, this is configured now: |
`option_if_let_else`: do not trigger on expressions returning `()` Fix rust-lang#11893 Trigerring on expressions returning `()` uses the arguments of the `map_or_else()` rewrite only for their side effects. This does lead to code which is harder to read than the original. changelog: [`option_if_let_else`]: do not trigger on unit expressions
We've been rather free with breaking old links and people are greeted with a generic github page or a raw XML page, which is very off-putting. (The XML page especially so, since static.rust-lang.org is where we put the docs.)
A nice page with a search bar and helpful links would be awesome.
The text was updated successfully, but these errors were encountered: