Skip to content

Commit

Permalink
use teletype on the attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed May 8, 2024
1 parent f94fa6b commit 10f8d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10f8d1f

Please sign in to comment.