Skip to content

Commit

Permalink
Merge pull request rust-lang#790 from mappum/patch-1
Browse files Browse the repository at this point in the history
Added missing comma to Unions reference
  • Loading branch information
Centril authored Apr 10, 2020
2 parents 25acdfa + ad89868 commit dbd58a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/unions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ union MyUnion {
```

The key property of unions is that all fields of a union share common storage.
As a result writes to one field of a union can overwrite its other fields, and
As a result, writes to one field of a union can overwrite its other fields, and
size of a union is determined by the size of its largest field.

## Initialization of a union
Expand Down

0 comments on commit dbd58a1

Please sign in to comment.