Skip to content

Commit 1cb95f4

Browse files
authored
Rollup merge of rust-lang#137538 - tapanprakasht:fix-doc-path, r=thomcc
fix doc path in std::fmt macro fixes rust-lang#137519
2 parents 3a03249 + a2640b5 commit 1cb95f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

std/src/macros.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ macro_rules! panic {
4141
/// Use `print!` only for the primary output of your program. Use
4242
/// [`eprint!`] instead to print error and progress messages.
4343
///
44-
/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
44+
/// See the formatting documentation in [`std::fmt`](crate::fmt)
4545
/// for details of the macro argument syntax.
4646
///
4747
/// [flush]: crate::io::Write::flush
@@ -106,7 +106,7 @@ macro_rules! print {
106106
/// Use `println!` only for the primary output of your program. Use
107107
/// [`eprintln!`] instead to print error and progress messages.
108108
///
109-
/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
109+
/// See the formatting documentation in [`std::fmt`](crate::fmt)
110110
/// for details of the macro argument syntax.
111111
///
112112
/// [`std::fmt`]: crate::fmt
@@ -156,7 +156,7 @@ macro_rules! println {
156156
/// [`io::stderr`]: crate::io::stderr
157157
/// [`io::stdout`]: crate::io::stdout
158158
///
159-
/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
159+
/// See the formatting documentation in [`std::fmt`](crate::fmt)
160160
/// for details of the macro argument syntax.
161161
///
162162
/// # Panics
@@ -190,7 +190,7 @@ macro_rules! eprint {
190190
/// Use `eprintln!` only for error and progress messages. Use `println!`
191191
/// instead for the primary output of your program.
192192
///
193-
/// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
193+
/// See the formatting documentation in [`std::fmt`](crate::fmt)
194194
/// for details of the macro argument syntax.
195195
///
196196
/// [`io::stderr`]: crate::io::stderr

0 commit comments

Comments
 (0)