Merge pull request #616 from DavidDeprost/master

Update ch17-02-trait-objects.md
This commit is contained in:
Carol (Nichols || Goulding)
2017-04-11 11:08:07 -04:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
## Trait Objects for Using Values of Different Types
In Chapter 8, we talked about a limitation of vectors is that vectors can only
In Chapter 8, we said that a limitation of vectors is that vectors can only
store elements of one type. We had an example in Listing 8-1 where we defined a
`SpreadsheetCell` enum that had variants to hold integers, floats, and text so
that we could store different types of data in each cell and still have a