Fix variable reference typo

State --> UsState
This commit is contained in:
Mike C
2017-08-16 15:54:15 -04:00
committed by GitHub
parent d09c9e8144
commit 35df45edc0

View File

@@ -99,7 +99,7 @@ As an example, lets change one of our enum variants to hold data inside it.
From 1999 through 2008, the United States minted quarters with different
designs for each of the 50 states on one side. No other coins got state
designs, so only quarters have this extra value. We can add this information to
our `enum` by changing the `Quarter` variant to include a `State` value stored
our `enum` by changing the `Quarter` variant to include a `UsState` value stored
inside it, which weve done here in Listing 6-4:
```rust