From 10f8d1ffef464d8c6cc8add49f5850cf8a33cfb3 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Tue, 7 May 2024 18:35:00 -0600 Subject: [PATCH] use teletype on the attribute name --- library/core/src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 16c97284104d4..b82351ea1fa3c 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` or `Result<(), NonZeroI32>` would both //! have the same guarantees as `Option`. The only difference is the