Skip to content

Commit

Permalink
Update training-slides/src/compound-types.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelraz authored Feb 28, 2024
1 parent c00001f commit 4b76ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training-slides/src/compound-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn main() {

Note:

The tag in an enum specifies which variant is currently valid, and is stored the
The tag in an enum specifies which variant is currently valid, and is stored as the
smallest integer the compiler can get away with - it depends how many variants you
have. Of course, if none of the variants have any data, the enum is *just* the tag.

Expand Down

0 comments on commit 4b76ee2

Please sign in to comment.