Skip to content
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

Dead link in source code browser #103517

Closed
hellow554 opened this issue Oct 25, 2022 · 2 comments · Fixed by #106466
Closed

Dead link in source code browser #103517

hellow554 opened this issue Oct 25, 2022 · 2 comments · Fixed by #106466
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@hellow554
Copy link
Contributor

hellow554 commented Oct 25, 2022

Location

Using this page and then clicking on the left onto unix/cmath.rs will give you a 404: https://doc.rust-lang.org/nightly/src/std/sys/unix/unix/cmath.rs.html

grafik

Summary

Either that file should not show up in the source code list at all or it should properly redirect to the source code.

@hellow554 hellow554 added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Oct 25, 2022
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Oct 27, 2022
@jsha
Copy link
Contributor

jsha commented Oct 30, 2022

Possibly related: #98220

@clubby789
Copy link
Contributor

The cmath module is declared as

#[path = "../unix/cmath.rs"] 
pub mod cmath;

and the actual location is https://doc.rust-lang.org/nightly/src/std/sys/unix/up/unix/cmath.rs.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants