Closed
Description
Location
library/std/src/macros.rs
Summary
In library/std/src/macros.rs
, the macros print
, 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.