Skip to content

Commit

Permalink
typo fix ch06-01-defining-an-enum.md
Browse files Browse the repository at this point in the history
  • Loading branch information
QueryVS authored Sep 3, 2023
1 parent 72187f5 commit 4bb99b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch06-01-defining-an-enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ a struct. Enums handle this case with ease:

We’ve shown several different ways to define data structures to store version
four and version six IP addresses. However, as it turns out, wanting to store
IP addresses and encode which kind they are is so common that [the standard
IP addresses and encode which kind they are so common that [the standard
library has a definition we can use!][IpAddr]<!-- ignore --> Let’s look at how
the standard library defines `IpAddr`: it has the exact enum and variants that
we’ve defined and used, but it embeds the address data inside the variants in
Expand Down

0 comments on commit 4bb99b2

Please sign in to comment.