| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-19 | Rollup merge of #74536 - Nicholas-Baron:master, r=joshtriplett | Manish Goregaokar | -4/+4 | |
| fix documentation surrounding the `in` and `for` keywords Addresses #74529 The `in` keyword incorrectly referenced the `Iterator` trait. This reference was changed to `IntoIterator` without changing the underlying link. Additionally, the `IntoIterator` trait was referenced towards the end of the documentation for `for`. An additional reference was added earlier and broadened the existing documentation from any iterator to anything that can be turned into an iterator. | ||||
| 2020-07-19 | Rollup merge of #73618 - poliorcetics:false-keyword, r=jyn514 | Manish Goregaokar | -3/+4 | |
| Documentation for the false keyword Partial fix of #34601. Short documentation for the false keyword mainly pointing to the `true` keyword. | ||||
| 2020-07-19 | Update src/libstd/keyword_docs.rs | Nicholas Baron | -1/+1 | |
| Clear up wording regarding the iterator and usage of `break`. Co-authored-by: Josh Triplett <josh@joshtriplett.org> | ||||
| 2020-07-19 | Linked the earlier mention of IntoIterator in the keyword 'for' docs | Nicholas-Baron | -1/+1 | |
| 2020-07-19 | Mentioned IntoIterator in keyword 'in' docs | Nicholas-Baron | -2/+2 | |
| 2020-07-19 | Mentioned IntoIterator earlier in keyword 'for' docs | Nicholas-Baron | -2/+2 | |
| 2020-07-19 | Apply suggestions from review | Poliorcetics | -1/+1 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-07-19 | Remove useless link to bool primitive | Alexis Bourget | -1/+0 | |
| 2020-07-18 | Rollup merge of #73762 - poliorcetics:trait-keyword, r=KodrAus | Manish Goregaokar | -3/+180 | |
| Document the trait keyword Partial fix of #34601. This document the trait keyword. To avoid doing too much and forcing more updates as functionalities evolve, I put two links to the reference, especially for trait objects. This mainly documents the "big" parts, not so much the small details that might trip someone experimenting. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-07-17 | Fix small nits, clarfying some confusing vocabulary and using more ↵ | Alexis Bourget | -4/+12 | |
| consistent wording | ||||
| 2020-07-13 | Rollup merge of #73867 - poliorcetics:union-keyword, r=joshtriplett | Manish Goregaokar | -2/+66 | |
| Document the union keyword Partial fix of #34601. This documents the `union` keyword by presenting three cases: simply using a union, matching on a union and referencing the fields of a union. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-07-01 | Rollup merge of #73805 - poliorcetics:type-keyword, r=kennytm | Manish Goregaokar | -2/+37 | |
| Document the type keyword Partial fix of #34601. Two small examples, one clarifying that `type` only defines an alias, not a completely new type, the other explaining the use in traits. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-07-01 | Rollup merge of #73716 - poliorcetics:static-keyword, r=LukasKalbertodt | Manish Goregaokar | -3/+76 | |
| Document the static keyword Partial fix of #34601. This documents the `static` keyword. It's basically a simplified version of the reference with more examples. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-06-30 | Clarify some parts by applying the suggestions from review | Poliorcetics | -6/+7 | |
| Co-authored-by: Josh Triplett <josh@joshtriplett.org> | ||||
| 2020-06-29 | Document the union keyword | Alexis Bourget | -2/+65 | |
| 2020-06-28 | Fix small nits | Alexis Bourget | -4/+3 | |
| 2020-06-28 | Apply suggestions, reformulating some paragraphs and improving some examples | Alexis Bourget | -38/+36 | |
| 2020-06-28 | Apply suggestions from code review | Alexis Bourget | -2/+13 | |
| 2020-06-27 | Document the type keyword | Alexis Bourget | -2/+26 | |
| 2020-06-26 | Rollup merge of #73718 - poliorcetics:super-keyword, r=shepmaster | Manish Goregaokar | -2/+18 | |
| Document the super keyword Partial fix of #34601. Quite short, just a small example and a link to the reference. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-06-26 | Rollup merge of #73694 - poliorcetics:self-upper-keyword, r=Mark-Simulacrum | Manish Goregaokar | -2/+57 | |
| Document the Self keyword Partial fix of #34601. Document the `Self` keyword. This contains simple examples of the places where `Self` can be used. | ||||
| 2020-06-26 | Document the trait keyword | Alexis Bourget | -3/+172 | |
| 2020-06-25 | Rollup merge of #73648 - poliorcetics:return-keyword, r=joshtriplett | Manish Goregaokar | -2/+48 | |
| Document the return keyword Partial fix of #34601. This documents the `return` keyword with two short example to explain it is not needed for the last expression in a function and a long example to show its use when interrupting a function execution early. I did not put a link to the reference since the only link I found was https://doc.rust-lang.org/stable/reference/expressions/return-expr.html#return-expressions. @rustbot modify labels: T-doc,C-enhancement | ||||
| 2020-06-25 | Rollup merge of #73621 - poliorcetics:mut-keyword, r=steveklabnik | Manish Goregaokar | -3/+53 | |
| Document the mut keyword Partial fix for #34601. Documentation for the `mut` keyword. I think it's okay for it to be quite short, this is not the book not the reference, but if you find something is missing, do not hesitate to tell me. | ||||
| 2020-06-25 | Rollup merge of #73619 - poliorcetics:mod-keyword, r=steveklabnik | Manish Goregaokar | -2/+20 | |
| Document the mod keyword Partial fix for #34601 . Documentation for the `mod` keyword. | ||||
| 2020-06-25 | Document the static keyword | Alexis Bourget | -2/+78 | |
| 2020-06-25 | Document the super keyword | Alexis Bourget | -2/+18 | |
| 2020-06-25 | Add a compile fail example, binding -> variable, apply suggestions | Alexis Bourget | -13/+22 | |
| 2020-06-24 | Document the Self keyword | Alexis Bourget | -2/+57 | |
| 2020-06-24 | Short documentation for the false keyword | Alexis Bourget | -2/+4 | |
| 2020-06-24 | Document the self keyword | Alexis Bourget | -2/+86 | |
| 2020-06-24 | Document the return keyword | Alexis Bourget | -2/+48 | |
| Apply suggestions from code review Co-authored-by: Josh Triplett <josh@joshtriplett.org> | ||||
| 2020-06-22 | Document the mut keyword | Alexis Bourget | -2/+43 | |
| 2020-06-22 | Document the mod keyword | Alexis Bourget | -2/+20 | |
| 2020-05-30 | Remove the fn main() in code example | Poliorcetics | -3/+1 | |
| 2020-05-30 | Apply suggestions from code review | Poliorcetics | -2/+2 | |
| Fix suggestions from review. Co-authored-by: Bastian Kauschke <bastian_kauschke@hotmail.de> | ||||
| 2020-05-29 | Added the documentation for the 'use' keyword | Alexis Bourget | -2/+56 | |
| 2020-04-24 | Fix typos in docs for keyword "in" | Jubilee Young | -2/+2 | |
| 2020-03-18 | Rollup merge of #67749 - gilescope:keyword-in, r=Dylan-DPC | Mazdak Farrokhzad | -5/+56 | |
| keyword docs for else and inkeyword docs for else and in. First cut of else and in keyword docs. Comments and suggestions more than welcome. | ||||
| 2020-03-13 | Add documentation for pub keyword | sjud | -2/+8 | |
| 2020-02-28 | docs: add mention of async blocks in move keyword docs | Pulkit Goyal | -0/+9 | |
| Fixes #69298 | ||||
| 2020-02-13 | keyword docs for else and inkeyword docs for else and in. | Giles Cope | -5/+56 | |
| 2020-02-12 | Rollup merge of #67695 - gilescope:truth, r=centril | Yuki Okushi | -5/+44 | |
| Added dyn and true keyword docs r? @Centril | ||||
| 2020-02-11 | Keyword docs | Giles Cope | -5/+44 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> Co-Authored-By: Tim Robinson <tim.g.robinson@gmail.com> Co-Authored-By: Peter Todd <pete@petertodd.org> Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com> | ||||
| 2019-12-29 | Some keyword documentation. | Giles Cope | -4/+23 | |
| 2019-12-22 | Format the world | Mark Rousskov | -39/+39 | |
| 2019-12-08 | Rollup merge of #66325 - BartMassey:master, r=joshtriplett | Mazdak Farrokhzad | -2/+2 | |
| Change unused_labels from allow to warn Fixes #66324, making the unused_labels lint warn instead of allow by default. I'm told @rust-lang/lang will need to review this, and perhaps will want to do a crater run. | ||||
| 2019-12-01 | add grammer fixes | Devin R | -2/+2 | |
| 2019-11-30 | add ";" for let = match | Devin R | -1/+1 | |
| 2019-11-30 | fix doc compile fail | Devin R | -4/+5 | |
