Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf01fb6

Browse files
committedMar 2, 2016
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.
1 parent 84d8fec commit cf01fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/doc/book/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [Comments](comments.md)
1010
* [if](if.md)
1111
* [Loops](loops.md)
12+
* [Vectors](vectors.md)
1213
* [Ownership](ownership.md)
1314
* [References and Borrowing](references-and-borrowing.md)
1415
* [Lifetimes](lifetimes.md)
@@ -18,7 +19,6 @@
1819
* [Match](match.md)
1920
* [Patterns](patterns.md)
2021
* [Method Syntax](method-syntax.md)
21-
* [Vectors](vectors.md)
2222
* [Strings](strings.md)
2323
* [Generics](generics.md)
2424
* [Traits](traits.md)

0 commit comments

Comments
 (0)
Please sign in to comment.