summary refs log tree commit diff
path: root/src/doc/book/patterns.md
AgeCommit message (Collapse)AuthorLines
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.