Commit Graph

2948 Commits

Author SHA1 Message Date
Eric Huss 6a5431b863
Merge pull request #1253 from xd009642/doc/rfc2867
Document RFC 2867: instruction_set attribute
2022-11-16 17:47:58 -08:00
Eric Huss c47e316d96
Fix backtick 2022-11-16 17:44:56 -08:00
Eric Huss 212b1c9606
Merge pull request #1288 from ohno418/fix-typo-in-hrtb
Fix a minor typo in the "Higher-ranked trait bounds" section
2022-11-16 17:33:40 -08:00
Eric Huss fc039cfb90
Merge pull request #1294 from autumnull/patch-1
Disallow newline directly following `//`
2022-11-15 12:43:57 -08:00
Eric Huss 5100e846dd
Merge pull request #1300 from danielhenrymantilla/patch-1
Add an anchor to the "forwarding macro fragments" paragraph
2022-11-15 12:43:30 -08:00
Daniel Henry-Mantilla 04f289ad17
Fix header hierarchy
Co-authored-by: Eric Huss <eric@huss.org>
2022-11-15 21:25:08 +01:00
Daniel Henry-Mantilla 87f527b36e
Add an anchor to the "forwarding macro fragments" paragraph
Since this is a subtle idiosyncracy into which macro users sometimes bump, it can be incredibly help ful to give them a pin-pointed link to the exact paragraph talking about this. Hence the idea of adding some kind of header, and thus an anchor, to it. Since it's just a paragraph, I've gone for a very low header, such as h4.

cc @nilstrieb
2022-11-15 12:32:20 +01:00
Vadim Petrochenkov 0ec6d52723 Document native library modifier `verbatim` 2022-11-13 15:44:56 +03:00
Autumn! 219e33667d
Disallow newline directly following `//` 2022-11-04 02:17:41 +00:00
Ralf Jung 2af818d235 forward reference to 'dangling' 2022-11-01 20:06:30 +01:00
Ralf Jung e05229ddad
clarify "upper bound"
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
2022-11-01 19:52:37 +01:00
Ralf Jung 36579679fe clarify liveness 2022-10-31 20:51:54 +01:00
Ralf Jung 7110c8eb3b add back link 2022-10-31 19:19:09 +01:00
Eric Huss 9f0cc13ffc
Merge pull request #1289 from EFanZh/patch-1
Add a comma
2022-10-31 04:09:16 -07:00
Ralf Jung 66754d60ef update aliasing rules section of the reference 2022-10-31 11:24:39 +01:00
EFanZh 8a86959fe9
Add a comma 2022-10-31 16:09:58 +08:00
Deadbeef 5d9300ce42 Update terminology from fieldless to unit-only 2022-10-28 14:59:51 +08:00
Deadbeef 3d4745b348 Apply Suggestions 2022-10-28 13:14:17 +08:00
Deadbeef f8ac109624 Applied suggestions from Havvy 2022-10-28 13:14:17 +08:00
Jack Wrenn 3b5ac6c1cf "e.g." -> "for example"
Co-Authored-By: Ryan Scheel <Ryan.havvy@gmail.com>
2022-10-28 13:14:17 +08:00
Jack Wrenn 45f85e1c29 Update enum documentation for arbitrary_enum_discriminant feature. 2022-10-28 13:14:17 +08:00
Yutaro Ohno 4e0edd1428 Fix a minor typo in the "Higher-ranked trait bounds" section 2022-10-26 20:19:20 +09:00
Eric Huss 4ea7c5def3
Merge pull request #1274 from Havvy/half-open-ranges
Document Half Open Range Patterns + Improve Range Patterns in General
2022-10-25 15:14:36 -07:00
Ryan Scheel 0276e07e17
Merge pull request #1287 from amab8901/patch-2
clarifying which row contains the example
2022-10-20 21:48:05 -07:00
amab8901 7c5b80d96d
clarifying which row contains the example 2022-10-21 04:57:01 +02:00
Eric Huss b8d2c58eba
Merge pull request #1270 from Amanieu/asm-sym
Add `sym` operands for inline assembly
2022-10-20 07:08:11 -07:00
León Orell Valerian Liehr 50a597cc56
type parameter `Self` is unsized by default 2022-10-20 12:39:51 +02:00
Niko Matsakis 81046456d1
Merge pull request #1265 from jackh726/gats
Add basic GATs reference information
2022-10-18 20:47:02 -04:00
Jack Huey 6b9e4ffd53 Add a section on relationship between bounds and wherebounds 2022-10-18 20:21:45 -04:00
Ryan Scheel f6ed74f582
Merge pull request #1280 from steffahn/ana
Typo 'a' -> 'an'
2022-10-08 02:43:26 -07:00
Frank Steffahn 3c9516b800 Typo 'a' -> 'an' 2022-10-08 11:43:07 +09:00
Eric Huss 2af6d3c6d6
Merge pull request #1277 from Havvy/one-line-expressions
One line one sentence for expressions and statements main chapters
2022-10-04 20:11:48 -07:00
Ryan Scheel (isHavvy) 45c47cd386 One line one sentence the statements and expressions chapter. 2022-10-04 20:08:52 -07:00
Ryan Scheel (isHavvy) e076c6ed0c One line one sentence for the Statements chapter. 2022-10-04 20:08:49 -07:00
Ryan Scheel (isHavvy) cadf497c73 One line one sentence for main Expressions chapter. 2022-10-04 20:07:15 -07:00
Eric Huss 3d1ca95f51
Merge pull request #1156 from est31/let_else
Document let else statements
2022-10-04 19:57:03 -07:00
est31 9e6a8c029e let bindings can now be refutable too 2022-10-04 21:25:20 +02:00
est31 a50e43ee79 Add example 2022-10-04 21:25:20 +02:00
est31 3e10ae3bbb Document let else statements 2022-10-04 21:25:20 +02:00
Felix S Klock II d6864a46db
Merge pull request #1263 from jyn514/label-break-value
Document `label_break_value` in the reference
2022-10-04 14:46:27 -04:00
Eric Huss 3c55838c03
Merge pull request #1171 from Mark-Simulacrum/atomic-cfg
Document target_has_atomic
2022-10-04 09:31:15 -07:00
Mark Rousskov 2325d952d1 Remove unstable API mention 2022-10-03 18:58:02 -04:00
Eric Huss b5ff71d1fa
Merge pull request #1278 from RalfJung/unsafe
update 'unsafe'
2022-10-03 11:25:20 -07:00
Ralf Jung d1e4ea12af apply feedback 2022-09-30 12:03:37 +02:00
Ralf Jung 1423936cc4 update unsafe docs 2022-09-30 11:03:47 +02:00
Jack Huey 3c8acda52f Review comments 2022-09-28 18:11:43 -04:00
Ralf Jung f24b8d4ca7 merge unsafe-block and unsafe-function into one page 2022-09-28 17:31:50 +02:00
Eric Huss bf1453fd0d
Merge pull request #1276 from hkBst/patch-1
Update tokens.md
2022-09-27 13:16:23 -07:00
Eric Huss 1656d81f44
Merge pull request #1275 from Havvy/one-line-one-sentence-patterns
One sentence, one line Patterns chapter
2022-09-27 12:26:46 -07:00
Felix S. Klock II 575d859aa0 Alpha-rename "Loop expressions" chapter to "Loops and other breakable expressions" instead. 2022-09-27 15:19:39 -04:00