You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eegli opened this issue
Feb 24, 2025
· 1 comment
· Fixed by #137538
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.
jieyouxu
added
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Feb 26, 2025
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.
Location
library/std/src/macros.rs
Summary
In
library/std/src/macros.rs
, the macrosprint
,println
,eprint
,eprintln
all contain the following doc comment:/// See [the formatting documentation in
std::fmt](../std/fmt/index.html)
Which resolves to a broken link: https://doc.rust-lang.org/stable/std/std/fmt/index.html.
Doc comments should be adjusted to:
/// See [the formatting documentation in
std::fmt](../fmt/index.html)
Which would point to the correct online documentation https://doc.rust-lang.org/stable/std/fmt/index.html.
Steps to reproduce: In VSCode, use any of the above macros, hover over the symbol name and click the (broken) link in the popup.
The text was updated successfully, but these errors were encountered: