about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/result.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs
index 16c97284104..b82351ea1fa 100644
--- a/library/core/src/result.rs
+++ b/library/core/src/result.rs
@@ -232,7 +232,7 @@
 //! all of the following conditions:
 //! * Is a zero-sized type with alignment 1 (a "1-ZST").
 //! * Has no fields.
-//! * Does not have the #[non_exhaustive] attribute.
+//! * Does not have the `#[non_exhaustive]` attribute.
 //!
 //! For example, `Result<NonZeroI32, ()>` or `Result<(), NonZeroI32>` would both
 //! have the same guarantees as `Option<NonZeroI32>`. The only difference is the