Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 10f8d1f

Browse files
committedMay 8, 2024·
use teletype on the attribute name
1 parent f94fa6b commit 10f8d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
//! all of the following conditions:
233233
//! * Is a zero-sized type with alignment 1 (a "1-ZST").
234234
//! * Has no fields.
235-
//! * Does not have the #[non_exhaustive] attribute.
235+
//! * Does not have the `#[non_exhaustive]` attribute.
236236
//!
237237
//! For example, `Result<NonZeroI32, ()>` or `Result<(), NonZeroI32>` would both
238238
//! have the same guarantees as `Option<NonZeroI32>`. The only difference is the

0 commit comments

Comments
 (0)
Please sign in to comment.