diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-05-14 02:32:55 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-05-16 14:46:33 -0700 |
| commit | 851be33f2ab87a4088dcaf9007bdb20d3370a45e (patch) | |
| tree | 2a00e83899b47ba40c7afcfd16b9f81957b09289 /src/libsyntax/parse/parser.rs | |
| parent | 80e7cde2238e837a9d6a240af9a3253f469bb2cf (diff) | |
| download | rust-851be33f2ab87a4088dcaf9007bdb20d3370a45e.tar.gz rust-851be33f2ab87a4088dcaf9007bdb20d3370a45e.zip | |
Add all keywords to keyword docs
This commit gives each stable keyword a short entry in the "Keywords"
section in the docs for `std`. The newly added entries are a single
summary line and a note that the documentation is not yet complete. I
changed some of the existing summary lines for consistency's sake. Each
line is either a verb phrase ("name the type of a trait object" for
`dyn`), or an object ("A value of type `bool` representing logical true"
for `true`). I tried to avoid using the keyword itself or the word
"keyword" in the summary.
Later PRs can flesh out each keyword with an example of each
context in which a keyword can appear and a link to the rust book.
Keywords which are not close to stable rust such as `box` (which is
getting unstabilized) or `try` are ignored in this PR.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
