about summary refs log tree commit diff
path: root/library/std/src/macros.rs
diff options
context:
space:
mode:
authorTapan Prakash <tapanprakasht@gmail.com>2025-02-25 09:05:09 +0530
committerTapan Prakash <tapanprakasht@gmail.com>2025-02-25 09:08:22 +0530
commitf63981e0913ea2bfa935935595ab04b6cc7a9e42 (patch)
treec883039b99e5ac1efba9d6b345cb22f13fe0a763 /library/std/src/macros.rs
parent7d8c6e781d347e087c7d30ea393d7dcd725ed623 (diff)
downloadrust-f63981e0913ea2bfa935935595ab04b6cc7a9e42.tar.gz
rust-f63981e0913ea2bfa935935595ab04b6cc7a9e42.zip
fix doc path in std::fmt macro
Diffstat (limited to 'library/std/src/macros.rs')
-rw-r--r--library/std/src/macros.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/macros.rs b/library/std/src/macros.rs
index e0f9f0bb5ce..f008d42804c 100644
--- a/library/std/src/macros.rs
+++ b/library/std/src/macros.rs
@@ -41,7 +41,7 @@ macro_rules! panic {
 /// Use `print!` only for the primary output of your program. Use
 /// [`eprint!`] instead to print error and progress messages.
 ///
-/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
+/// See the formatting documentation in [`std::fmt`](crate::fmt)
 /// for details of the macro argument syntax.
 ///
 /// [flush]: crate::io::Write::flush
@@ -106,7 +106,7 @@ macro_rules! print {
 /// Use `println!` only for the primary output of your program. Use
 /// [`eprintln!`] instead to print error and progress messages.
 ///
-/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
+/// See the formatting documentation in [`std::fmt`](crate::fmt)
 /// for details of the macro argument syntax.
 ///
 /// [`std::fmt`]: crate::fmt
@@ -156,7 +156,7 @@ macro_rules! println {
 /// [`io::stderr`]: crate::io::stderr
 /// [`io::stdout`]: crate::io::stdout
 ///
-/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
+/// See the formatting documentation in [`std::fmt`](crate::fmt)
 /// for details of the macro argument syntax.
 ///
 /// # Panics
@@ -190,7 +190,7 @@ macro_rules! eprint {
 /// Use `eprintln!` only for error and progress messages. Use `println!`
 /// instead for the primary output of your program.
 ///
-/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
+/// See the formatting documentation in [`std::fmt`](crate::fmt)
 /// for details of the macro argument syntax.
 ///
 /// [`io::stderr`]: crate::io::stderr