summary refs log tree commit diff
path: root/src/doc/trpl/syntax-index.md
AgeCommit message (Collapse)AuthorLines
2015-10-13Correct spelling in docsAndrew Paseltiner-4/+4
2015-10-09Corrections to syntax index.Daniel Keep-3/+3
* removed reference to struct fields from `mut` description. * changed `..` pattern example to not be syntactically bogus. * changed `@` pattern example for similar reasons. (Thanks petrochenkov)
2015-10-09Expanded entries for generics.Daniel Keep-3/+6
* Now mentions method generics. * Has separate entries for generic `fn`, `struct`, `enum`, and `impl` items. (Thanks killercup).
2015-10-09Introduces a "Syntax Index" chapter to TRPL.Daniel Keep-0/+226
The intent with this chapter is to have a central place where users can go to find out what a random bit of syntax means, be it a keyword, symbol, or some unusual bit of composite syntax (like `for <...>`). This should be useful both for new users (who may not know what to call this weird `'blah` thing), and for experienced users (who may just wish to link someone to the appropriate section on `Trait + Trait` bounds). Where possible, entries have been linked to an appropriate section of the book which explains the syntax. This was not possible in all cases. If an entry is missing links, that's because I was unable to *find* anything appropriate to link to. This commit should include all stable keywords, operators and symbols, as well as a selection of potentially confusing or unusual syntax.