about summary refs log tree commit diff
path: root/library/std/src/keyword_docs.rs
AgeCommit message (Collapse)AuthorLines
2022-02-21Rollup merge of #91192 - r00ster91:futuredocs, r=GuillaumeGomezMatthias Krüger-6/+8
Some improvements to the async docs The goal here is to make the docs overall a little bit more comprehensive and add more links between the things. One thing that's not working yet is the links to the keywords. Somehow I couldn't get them to work. r? ````@GuillaumeGomez```` do you know how I could get the keyword links to work?
2022-02-19Some improvements to the async docsr00ster91-6/+8
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-1/+1
2021-11-21Simplify for loop desugarCameron Steffen-4/+1
2021-11-09Update booksEric Huss-1/+1
2021-09-16Fix typo in `break` docstatami4-1/+1
2021-09-05Mention usage of `const` in raw pointer types at the top of the keyword's ↵Frank Steffahn-1/+1
documentation page.
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the ↵Frank Steffahn-1/+1
same search
2021-06-25Fix a few misspellings.Eric Huss-1/+1
2021-06-17Rollup merge of #86141 - amorison:link-ref-in-doc-dyn-keyword, r=kennytmYuki Okushi-2/+5
Link reference in `dyn` keyword documentation The "read more" sentence formatted "object safety" as inline code instead of providing a link to more information. This PR adds a link to the Reference about this matter, as well as the page regarding trait objects. --- We could also put these links in the very first line (instead of the link to the Book) and in the first paragraph which mentions the "object safe" requirement. Personally, I think it's good to keep the link to the Book up-front as it's more accessible than the Reference.
2021-06-15Update keyword_docs.rsLukas Wirth-2/+1
2021-06-08Link reference in `dyn` keyword documentationAdrien Morison-2/+5
The "read more" sentence formatted "object safety" as inline code instead of providing a link to more information. This PR adds a link to the Reference about this matter, as well as the page regarding trait objects.
2021-06-05Updated code examples and wordingerer1243-11/+9
2021-05-13Fix indentation in move keyword documentationThomas Otto-2/+2
2021-04-12Turn old edition lints (anonymous-parameters, keyword-idents) into ↵Manish Goregaokar-0/+1
warn-by-default on 2015
2021-03-31Rollup merge of #83680 - ibraheemdev:patch-2, r=Dylan-DPCDylan DPC-9/+12
Update for loop desugaring docs It looks like the documentation for `for` loops was not updated to match the new de-sugaring process.
2021-03-30update for loop desugaring docsIbraheem Ahmed-9/+12
2021-03-30Fix Self keyword doc URL conflict on case insensitive file systemsGuillaume Gomez-1/+5
2021-03-20Fix broken doc link referenceStephen Albert-Moore-2/+2
2021-03-18Fix pluralization in keyword docsStephen Albert-Moore-3/+3
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-5/+3
2021-01-13Update code to account for extern ABI requirementMark Rousskov-1/+1
2020-12-19Rollup merge of #79211 - yoshuawuyts:future-doc-alias, r=Mark-SimulacrumYuki Okushi-0/+1
Add the "async" and "promise" doc aliases to `core::future::Future` Adds the "async" and "promise" doc aliases to `core::future::Future`. This enables people who search for "async" or "promise" to find `Future`, which is Rust's core primitive for async programming. Thanks!
2020-12-18Add the "promise" aliases to the `async` lang featureYoshua Wuyts-0/+1
2020-12-13Rollup merge of #79398 - pickfire:keyword, r=Dylan-DPCYuki Okushi-0/+10
Link loop/for keyword Even though the reference already have all of these, I am just adding related keywords in the see also to let others easily click on the related keyword.
2020-11-28Rollup merge of #79383 - abdnh:patch-1, r=shepmasterJonas Schievink-2/+2
Fix bold code formatting in keyword docs
2020-11-28Rollup merge of #78086 - poliorcetics:as-placeholder, r=Mark-SimulacrumJonas Schievink-3/+14
Improve doc for 'as _' Fix #78042. `@rustbot` modify labels: A-coercions T-doc
2020-11-26Add while loop keyword to see alsoIvan Tham-2/+6
Suggested by withoutboats
2020-11-25Fix typo in keyword linkIvan Tham-1/+1
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-11-25Link loop/for keywordIvan Tham-0/+6
2020-11-25Fix bold code formatting in keyword docsabdo-2/+2
2020-11-23Fix typo in keyword docs for traitstakashiidobe-1/+1
2020-11-23Add doc for 'as _' about '_' and its possibilities and problemsAlexis Bourget-3/+14
2020-11-04Clean up docs for 'as' keywordCamelid-6/+13
2020-10-23Update description of Empty Enum for accuracyEduardo Pinho-1/+2
An empty enum is similar to the never type `!`, rather than the unit type `()`.
2020-10-12fix markdown referenceRalf Jung-1/+1
Co-authored-by: Dariusz Niedoba <darksv@users.noreply.github.com>
2020-10-12const keyword: brief paragraph on 'const fn'Ralf Jung-3/+18
2020-09-01Improve wording for const pointersCamelid-1/+1
2020-09-01Minor improvementsCamelid-2/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-26Improve docs for the `const` keywordCamelid-12/+14
2020-08-17Move to intra doc links for keyword documentationAlexis Bourget-16/+4
2020-08-14Document the unsafe keywordAlexis Bourget-3/+181
2020-08-08Add an example about the behaviour of move and Fn* traitsAlexis Bourget-5/+17
2020-08-04Fix the documentation for move about Fn traits implementationsAlexis Bourget-2/+6
2020-08-02fix typosliuzhenyu-1/+1
2020-07-27mv std libs to library/mark-0/+2113