about summary refs log tree commit diff
path: root/src/libstd/keyword_docs.rs
AgeCommit message (Collapse)AuthorLines
2019-04-09Fix links on keyword docs.Eric Huss-30/+25
- Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
2019-03-27Move link to rust book to next line to pass 100 column limitChris Gregory-1/+2
2019-03-27Add higher-ranked trait bounds linkChris Gregory-0/+1
2019-03-27Make into itemized list and fix some wordingChris Gregory-7/+10
2019-03-27Add documentation about `for` used as higher ranked trait boundsChris Gregory-5/+7
Resolves #55416
2019-02-10libs: doc commentsAlexander Regueiro-2/+2
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2019-01-05Rollup merge of #57312 - Mendess2526:master, r=Centrilkennytm-2/+2
`const fn` is no longer coming soon (const keyword docs) The `const` keyword [documentation](https://doc.rust-lang.org/std/keyword.const.html) mentions that `const fn`s are coming soon, but they have already been added.
2019-01-03const fn no longer comming soon on const docsMendess2526-2/+2
2019-01-01Fix broken links to second edition TRPL.Corey Farwell-4/+4
Fixes https://github.com/rust-lang/rust/issues/57104.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-12-04cleanup: remove static lifetimes from consts in libstdljedrz-1/+1
2018-11-13fix various typos in doc commentsAndy Russell-1/+1
2018-10-23Hopefully fix compile erroriirelu-1/+0
This was added in the fortnight this PR spent stale. I'm hoping this one-liner fixes it.
2018-09-26Remove the last broken link.iirelu-2/+1
Dangit. I really thought I got them all.
2018-09-26Incorporate criticisms into keyword docsiirelu-8/+13
Thanks to @Centril for these.
2018-09-26Removed dead links to unwritten keyword docsiirelu-20/+7
Most of these will eventually be filled, but right now travis-ci enjoys complaining about the fact that there's links that lead nowhere, so they're gone. Hopefully someone remembers to re-add them later.
2018-09-24Add keyword docs for `loop`.iirelu-0/+45
2018-09-19Rework `let` keyword docsiirelu-14/+48
It didn't strictly need to be reworked and I'm not sure my version is better, but oh well, I'm doing it for consistency.
2018-09-19Document impl keywordiirelu-5/+71
This commit also splits out linky-line-thingies into two lines, which judging from the source code for tidy, should be enough to make it shut up and accept me for who I am, dammit.
2018-09-14Incorporate keyword doc PR critiqueiirelu-31/+36
2018-09-12Document `if` keyword.iirelu-0/+78
2018-09-10Document `for` keywordiirelu-0/+71
2018-09-09Expand fn keyword docsiirelu-7/+59
2018-09-09Add docs on `extern` keywordiirelu-0/+42
2018-09-06Add keyword docs on `enum`iirelu-0/+55
2018-09-05Add docs for `crate` keywordiirelu-0/+34
I think it might be used in some other things, but I'm not fluent enough at sifting through the rust compiler's source code to find every use of a specific keyword. This leaves the question of how to document the `extern` keyword, what with how much overlap it has with `crate`, but that's used with ABI stuff so that should be fine.
2018-09-03Fix a few small things, re-word othersiirelu-6/+5
Mostly addressing notes on ambiguous syntax and spurious newlines.
2018-09-03Add keyword docs on constiirelu-1/+56
Turns out writing docs on keywords that are used in multiple different places in entirely different contexts gets a little harder. I put a footnote on `*const` syntax just to make sure you can find it if need be, but it might need more detail.
2018-09-03Add docs for `as` keywordiirelu-0/+27
It's pretty basic and could do with more details, but it's a good starter until someone else improves it.
2018-09-03Flesh out struct keyword docsiirelu-8/+96
The whole keyword docs thing is pretty new in Rust's history and needs some work before it's a shining gem. Here's hoping I can provide that. I basically shoved in a bunch of the most important information from the reference and the book, along with leaving links to both at the end. I don't think keyword docs need to have complete detail, just all the broad strokes, so if someone's confused about a usage of a keyword they can look at the std documentation for that keyword.
2018-08-23Add struct keyword docGuillaume Gomez-0/+21
2018-08-11Add let keyword docGuillaume Gomez-1/+31
2018-06-15Add doc for fn keywordGuillaume Gomez-0/+28