]> git.lizzy.rs Git - rust.git/commit
Introduces a "Syntax Index" chapter to TRPL.
authorDaniel Keep <daniel.keep@gmail.com>
Fri, 9 Oct 2015 08:47:16 +0000 (19:47 +1100)
committerDaniel Keep <daniel.keep@gmail.com>
Fri, 9 Oct 2015 08:47:16 +0000 (19:47 +1100)
commit702b6e552cc4fd5e20dff345e82327dc5a8eb613
tree0b76e05f04cd9653eec23b292e0db593790104c9
parent0f536431f54efe572a2be0c7c082e79c2fe62f4a
Introduces a "Syntax Index" chapter to TRPL.

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.
src/doc/trpl/SUMMARY.md
src/doc/trpl/syntax-index.md [new file with mode: 0644]