Skip to content

Commit

Permalink
Update semver.md: fixed typo
Browse files Browse the repository at this point in the history
fixed typo : was written 'non_exhastive' instead of 'non_exhaustive'
  • Loading branch information
AntoineRoumi authored Nov 28, 2023
1 parent 30efe86 commit a38c939
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 a38c939

Please sign in to comment.