Skip to content

Commit eb5476b

Browse files
committed
Auto merge of #9379 - stanislav-tkach:patch-1, r=Eh2406
an struct -> a struct
2 parents 905af54 + ee2a0de commit eb5476b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/reference/semver.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ fn main() {
235235
Mitigation strategies:
236236
* Do not add new fields to all-public field structs.
237237
* Mark structs as [`#[non_exhaustive]`][non_exhaustive] when first introducing
238-
an struct to prevent users from using struct literal syntax, and instead
238+
a struct to prevent users from using struct literal syntax, and instead
239239
provide a constructor method and/or [Default] implementation.
240240

241241
<a id="struct-add-public-field-when-no-private"></a>
@@ -270,7 +270,7 @@ fn main() {
270270
Mitigation strategies:
271271
* Do not add new new fields to all-public field structs.
272272
* Mark structs as [`#[non_exhaustive]`][non_exhaustive] when first introducing
273-
an struct to prevent users from using struct literal syntax, and instead
273+
a struct to prevent users from using struct literal syntax, and instead
274274
provide a constructor method and/or [Default] implementation.
275275

276276
<a id="struct-private-fields-with-private"></a>

0 commit comments

Comments
 (0)