@@ -41,6 +41,9 @@ macro_rules! panic {
41
41
/// Use `print!` only for the primary output of your program. Use
42
42
/// [`eprint!`] instead to print error and progress messages.
43
43
///
44
+ /// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
45
+ /// for details of the macro argument syntax.
46
+ ///
44
47
/// [flush]: crate::io::Write::flush
45
48
/// [`println!`]: crate::println
46
49
/// [`eprint!`]: crate::eprint
@@ -103,6 +106,9 @@ macro_rules! print {
103
106
/// Use `println!` only for the primary output of your program. Use
104
107
/// [`eprintln!`] instead to print error and progress messages.
105
108
///
109
+ /// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
110
+ /// for details of the macro argument syntax.
111
+ ///
106
112
/// [`std::fmt`]: crate::fmt
107
113
/// [`eprintln!`]: crate::eprintln
108
114
/// [lock]: crate::io::Stdout
@@ -150,6 +156,9 @@ macro_rules! println {
150
156
/// [`io::stderr`]: crate::io::stderr
151
157
/// [`io::stdout`]: crate::io::stdout
152
158
///
159
+ /// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
160
+ /// for details of the macro argument syntax.
161
+ ///
153
162
/// # Panics
154
163
///
155
164
/// Panics if writing to `io::stderr` fails.
@@ -181,6 +190,9 @@ macro_rules! eprint {
181
190
/// Use `eprintln!` only for error and progress messages. Use `println!`
182
191
/// instead for the primary output of your program.
183
192
///
193
+ /// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
194
+ /// for details of the macro argument syntax.
195
+ ///
184
196
/// [`io::stderr`]: crate::io::stderr
185
197
/// [`io::stdout`]: crate::io::stdout
186
198
/// [`println!`]: crate::println
0 commit comments