Skip to content

Commit 10f8d1f

Browse files
committed
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

+1-1
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)