about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/liballoc/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/fmt.rs b/src/liballoc/fmt.rs
index 480fb4b9eaa..578d90c5ba9 100644
--- a/src/liballoc/fmt.rs
+++ b/src/liballoc/fmt.rs
@@ -211,7 +211,7 @@
 //!
 //! - [`fmt::Display`][`Display`] implementations assert that the type can be faithfully
 //!   represented as a UTF-8 string at all times. It is **not** expected that
-//!   all types implement the `Display` trait.
+//!   all types implement the [`Display`] trait.
 //! - [`fmt::Debug`][`Debug`] implementations should be implemented for **all** public types.
 //!   Output will typically represent the internal state as faithfully as possible.
 //!   The purpose of the [`Debug`] trait is to facilitate debugging Rust code. In