]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #35465 - cardoe:pattern-book-update, r=steveklabnik
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Mon, 8 Aug 2016 20:25:57 +0000 (13:25 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2016 20:25:57 +0000 (13:25 -0700)
book: update example patterns to be more clear

When using Point { x: 0, y: 0 } and showing pattern matching decomposing
x and y individually its hard to understand. By using a different value
for x and a different value for y it is more clear.


Trivial merge