Stephen Albert-Moore
b6a12d58f5
Fix pluralization in keyword docs
2021-03-18 17:04:58 -04:00
Joshua Nelson
9a75f4fed1
Convert primitives to use intra-doc links
2021-02-25 20:31:53 -05:00
Mark Rousskov
4614671cae
Update code to account for extern ABI requirement
2021-01-13 07:49:45 -05:00
Yuki Okushi
60aad47c13
Rollup merge of #79211 - yoshuawuyts:future-doc-alias, r=Mark-Simulacrum
...
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-19 15:16:01 +09:00
Yoshua Wuyts
48d5874914
Add the "promise" aliases to the async
lang feature
2020-12-18 16:27:09 +01:00
Yuki Okushi
d559bb6707
Rollup merge of #79398 - pickfire:keyword, r=Dylan-DPC
...
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-12-13 11:05:30 +09:00
Jonas Schievink
13375864ed
Rollup merge of #79383 - abdnh:patch-1, r=shepmaster
...
Fix bold code formatting in keyword docs
2020-11-28 15:58:21 +01:00
Jonas Schievink
772b1a6d79
Rollup merge of #78086 - poliorcetics:as-placeholder, r=Mark-Simulacrum
...
Improve doc for 'as _'
Fix #78042 .
`@rustbot` modify labels: A-coercions T-doc
2020-11-28 15:58:13 +01:00
Ivan Tham
2d4cfd0779
Add while loop keyword to see also
...
Suggested by withoutboats
2020-11-26 01:05:20 +08:00
Ivan Tham
6b272e0231
Fix typo in keyword link
...
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-11-25 11:11:25 +08:00
Ivan Tham
872b5cd80a
Link loop/for keyword
2020-11-25 11:00:40 +08:00
abdo
38cc998da0
Fix bold code formatting in keyword docs
2020-11-25 01:05:46 +03:00
takashiidobe
c5c3d7bdf4
Fix typo in keyword docs for traits
2020-11-23 10:51:30 -05:00
Alexis Bourget
e31e627238
Add doc for 'as _' about '_' and its possibilities and problems
2020-11-23 09:18:13 +01:00
Camelid
d8afe98eba
Clean up docs for 'as' keyword
2020-11-04 16:05:55 -08:00
Eduardo Pinho
efedcb2344
Update description of Empty Enum for accuracy
...
An empty enum is similar to the never type `!`, rather than the unit type `()`.
2020-10-23 12:13:07 +01:00
Ralf Jung
c8405d2251
fix markdown reference
...
Co-authored-by: Dariusz Niedoba <darksv@users.noreply.github.com>
2020-10-12 09:47:43 +02:00
Ralf Jung
0ec3ea9e69
const keyword: brief paragraph on 'const fn'
2020-10-12 00:12:45 +02:00
Camelid
ce904783d0
Improve wording for const pointers
2020-09-01 19:44:20 -07:00
Camelid
54a4fd1eb9
Minor improvements
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-01 17:38:16 -07:00
Camelid
294c1160bb
Improve docs for the const
keyword
2020-08-26 14:51:21 -07:00
Alexis Bourget
431a465a8f
Move to intra doc links for keyword documentation
2020-08-17 22:17:14 +02:00
Alexis Bourget
0e610bb31e
Document the unsafe keyword
2020-08-14 22:52:23 +02:00
Alexis Bourget
1cd8dffdae
Add an example about the behaviour of move and Fn* traits
2020-08-08 15:57:17 +02:00
Alexis Bourget
d243fa109f
Fix the documentation for move about Fn traits implementations
2020-08-04 22:49:25 +02:00
liuzhenyu
3b4151c9f3
fix typos
2020-08-02 23:20:00 +08:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00