about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/macros.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/macros.rs b/library/std/src/macros.rs
index 3ffce6f7223..d7be1bdb4f9 100644
--- a/library/std/src/macros.rs
+++ b/library/std/src/macros.rs
@@ -72,6 +72,8 @@ macro_rules! print {
 /// Use `println!` only for the primary output of your program. Use
 /// [`eprintln!`] instead to print error and progress messages.
 ///
+/// [`std::fmt`]: crate::fmt
+///
 /// # Panics
 ///
 /// Panics if writing to `io::stdout` fails.