about summary refs log tree commit diff
path: root/src/doc/book/patterns.md
AgeCommit message (Collapse)AuthorLines
2017-02-13Port TRPL to mdbookSteve Klabnik-411/+0
1. move everything under a src directory 2. add README.md to the SUMMARY.md
2017-01-15An update to patterns documentationBjorn Tipling-0/+27
As it is written it creates a lot of confusion.
2016-11-13Improved punctuation, capitalization, and sentence structure of code snippet ↵Angelo Polo-2/+2
comments
2016-08-08book: update example patterns to be more clearDoug Goldstein-6/+6
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.
2016-06-23Switched tense to clarify what is happening in the exampleAlfie John-1/+1
2016-03-23Docs: Change "statements" to "expressions" on `match`Tang Chenglong-1/+1
I apt to use `expressions` over `statements`, because `match` is a expression in essence, though it can become a statement when followed a semicolon.
2016-02-22Fix warn(unused_mut) in exampleKevin Stock-1/+1
2016-02-02Add note about temporariesSteve Klabnik-2/+10
2016-02-01Explain behavior of _Steve Klabnik-1/+25
Fixes #31154
2016-01-09Remove many instances of 'just'Steve Klabnik-3/+3
Doing so is considered weaker writing. Thanks @Charlotteis! Fixes #28810
2015-12-17Clarified shadowing exampleXmasreturns-4/+6
Added some additional descriptive sentences and changed x to an int in the example
2015-11-19src/doc/trpl -> src/doc/bookSteve Klabnik-0/+350
The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc.