Merge pull request #508 from shepmaster/patch-1

Reorder sentence about a generic cons list.
This commit is contained in:
Carol (Nichols || Goulding)
2017-03-03 22:51:14 -05:00
committed by GitHub
+3 -4
View File
@@ -63,10 +63,9 @@ data structure of `i32` values
</figcaption> </figcaption>
</figure> </figure>
We're choosing to implement a cons list that only holds `i32` values, but we We're implementing a cons list that holds only `i32` values. We
could have chosen to implement it using generics as we discussed in Chapter 10 could have also chosen to implement a cons list independent of the
to define a cons list concept independent of the type of value stored in the type of value by using generics as discussed in Chapter 10.
cons list.
Using a cons list to store the list `1, 2, 3` would look like this: Using a cons list to store the list `1, 2, 3` would look like this: