Skip to content

Commit

Permalink
Auto merge of rust-lang#13054 - YoshiLeLama:patch-1, r=ehuss
Browse files Browse the repository at this point in the history
Fixed typo in SemVer Compatibility documentation page

fixed typo : it was written 'non_exhastive' instead of 'non_exhaustive'.
  • Loading branch information
bors committed Nov 28, 2023
2 parents 30efe86 + a38c939 commit 2d1c64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ fn main() {

#### Minor: `repr(C)` add enum variant {#repr-c-enum-variant-new}

It is usually safe to add variants to a `repr(C)` enum, if the enum uses `non_exhastive`.
It is usually safe to add variants to a `repr(C)` enum, if the enum uses `non_exhaustive`.
See [enum-variant-new](#enum-variant-new) for more discussion.

Note that this may be a breaking change since it changes the size and alignment of the type.
Expand Down

0 comments on commit 2d1c64b

Please sign in to comment.