Thanks for creating such readable docs!
When vectors are introduced in section 2.12, an analogy is made involving slices:
Vectors are to slices what String is to &str.
But I don't think slices have been introduced yet; they're introduced later in that section:
A slice is a reference to (or "view" into) an array.
Maybe the first quote should compare vectors to arrays, rather than slices?
Thanks for creating such readable docs!
When vectors are introduced in section 2.12, an analogy is made involving slices:
But I don't think slices have been introduced yet; they're introduced later in that section:
Maybe the first quote should compare vectors to arrays, rather than slices?