]> git.lizzy.rs Git - rust.git/commit
Make book ordering more natural
authorEvan <nerdx00@gmail.com>
Wed, 2 Mar 2016 00:50:11 +0000 (19:50 -0500)
committerEvan <nerdx00@gmail.com>
Wed, 2 Mar 2016 00:50:11 +0000 (19:50 -0500)
commitcf01fb68368ec985ffd3bf00e8e885780576da25
tree7f396c8bac761431d804ec17f67cd660d425788b
parent84d8fec9b014975145eb0d9d6ec29216593e10f6
Make book ordering more natural

Vectors come up in sections dedicated to ownership with the assumption that we know something about it but we haven't seen it yet. On the other hand, you need not know anything about ownership or lifetimes to understand the basics of vectors covered in the vector section of the book. Additionally, by moving it where it is there is a natural progression from loops to an iterative type which discusses for loops. This kind of interaction is generally better for learning.

I would like to have moved the struct section as well but I'm less confident about how to handle it since the ownership sections discuss structs and the structs section talks about mutable borrow.
src/doc/book/SUMMARY.md