Commit Graph

93 Commits

Author SHA1 Message Date
cui fliter 0ed9229f5b
fix some comments (#2059)
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-09-09 12:58:45 +02:00
Prashanth Mundkur cd7f60006b
Replace direct http links to rustc-dev-guide.rust-lang.org to relative links to the corresponding md source files. (#2044)
Use relative links to the corresponding md source files; this helps local browsing of generated docs.
2024-08-21 11:54:39 -07:00
Martin Liška f49f30d427
linkcheck: fix reported broken links (part 1) (#2022) 2024-07-24 20:01:25 +08:00
surechen 77478e960f fix some typos 2024-05-21 11:56:12 +02:00
JohnEndson 35e77b8e64 Fix some comments
Signed-off-by: JohnEndson <jiayuzhen@outlook.com>
2024-03-28 13:58:43 +02:00
Ali MJ Al-Nasrawy 45d0afbee7 add opaque-types-region-inference-restrictions 2024-03-27 09:49:05 +01:00
Yuki Okushi bafd382a4a
Fix more links (#1884) 2024-02-21 12:17:28 -03:00
Eric Huss fd6ed0ddcd
Update for upcoming markdown changes. (#1880) 2024-02-07 10:23:35 -03:00
David Semakula 4875b60780
Fix some broken links (#1877) 2024-01-30 04:49:51 +09:00
Santiago Pastorino 101bfc8748
Add dropck documentation (#1767) 2023-08-18 23:13:31 +02:00
Yuki Okushi d30be86ea6 Address the change in https://github.com/rust-lang/rust/pull/107256
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Tshepang Mbambo 2557089a44
make date-check more lightweight (#1394)
* make date-check lightweight

This avoids having to write the date twice when updating date-check.

Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"

* please clippy

* update date-check docs

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017

* this breaks markdown

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268

This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816

* accept review suggestion

This was reverted by mistake

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395

* use a more simple fn

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981

Much more clean

* nit

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* avoid a failed regex

Also, test new shape

* adjust to new regex (which uses named groups)

New regex was introduced by 456008cc35

Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
lcnr bc81f9918c
add section on user types (#1359)
* add section on user types

* line length

* review

* Update src/borrow_check/type_check.md

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-08 14:21:01 -03:00
Yuki Okushi 0b2c9db969
Update some links and docs (#1340) 2022-05-17 07:54:45 +09:00
Eric Holk e58b4c04cb
Minor type fix (#1337) 2022-04-14 19:44:36 +09:00
Yuki Okushi 766f9d7b10
Fix broken links related to `rustc_borrowck` (#1259)
* Fix broken links in region_inference.md

* Fix broken links in lifetime_parameters.md
2021-11-16 10:43:17 -03:00
Janggun Lee ddaebd85aa
Fix `rustc_mir` related links (#1228)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: nhamovitz <18648574+nhamovitz@users.noreply.github.com>
2021-10-29 00:58:26 +09:00
Yusuke Abe fba15a46ca
Update some docs from 2021-10 date triage (#1230) 2021-10-12 08:52:21 +09:00
Janggun Lee b71e9792c7
Update links to `rustc_mir` in Two Phase Borrows (#1226)
https://github.com/rust-lang/rust/pull/80522 split the `rustc_mir` crates into 5 crates, effectively invalidating all the direct links to `rustc_mir` in the docs.

I found this while looking at the Two Phase Borrows doc, which is why I am giving out this PR to fix this.
2021-10-06 09:07:51 -03:00
Camelid e72bf56a45
Fix double-word typos (#1084)
Inspired by #1079. I used this command to find these typos:

    rg --multiline --pcre2 '\b([a-zA-Z]+) \1\b' src -tmd

There were a couple false positives of the form "that that" meaning
"that it" or "that this".
2021-03-12 03:29:19 +09:00
Santiago Pastorino f83c57bee6
Fix typos (#1079) 2021-03-10 23:56:51 +09:00
Camelid 9214d4a8c3
Fix formatting of more date references (#1067) 2021-02-22 18:22:23 +09:00
Camelid 5e57035110 Add lots of date-check annotations
Also added dates for things that previously said "as of now" or "as of
this writing" and cleaned up a couple of things along the way.
2021-02-03 19:29:07 -05:00
Iñaki Garay bee2fd52ce
Add mdbook-toc, markers, and documentation (#1028)
* Add mdbook-toc to travis, book.toml  and documentation

* Add toc markers

* Whitespace cleanup and some punctuation

* Addressed comments
2021-01-20 14:33:11 -03:00
Iñaki Garay 0a5bb7f5e6
Add context to dated information (#1013)
* Fixes #924 Add context to dated information

* Fixes #924 Addressed comments and some uses of 'currently'

* Update src/contributing.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Update src/salsa.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Fixes #924 Addressed comments

* Fixes #924 Fixed line lengths.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-10 19:23:22 -03:00
mark 9bb3872dc7 fix links and names after compiler mv to compiler/ 2020-08-31 05:12:13 +02:00
Yuki Okushi d89c8c9b12 Rename `HAIR` to `THIR` 2020-08-02 08:39:33 -05:00
Bastian Kauschke 8f2e466f3c words 2020-06-05 10:33:15 -05:00
Paul Daniel Faria 6e91f8d0e9 Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md 2020-04-05 12:46:22 -05:00
LeSeulArtichaut 83cd94ed2b Rename `librustc` to `librustc_middle` 2020-03-31 15:43:14 -05:00
ecstatic-morse 10ad00edc2 Update reference to `has_any_child_of` in docs
This function was obsoleted by `find_in_move_path_or_its_descendants`.
2020-03-31 15:43:14 -05:00
Youngsuk Kim d6a6122b95
Add link to `rustc::mir::Location` (#579) 2020-02-14 23:56:21 +09:00
Youngsuk Kim df680be24b
Correction of type name (#576)
`ConstraintSet` => `OutlivesConstraintSet`
2020-02-12 17:15:44 -03:00
Yuki Okushi 41efacea44 Fix links 2020-01-13 13:14:26 -06:00
Mark Mansi e695b62250 update NLL after refactorings 2019-12-14 06:41:11 -06:00
Mark Mansi e44ca1f9d1 fix broken links 2019-11-05 11:58:33 -06:00
Eric Huss d3bfd4ad13 Fix some broken fragment links. 2019-11-05 11:35:34 -06:00
lzutao 9d1ffd3a0e Prefer https in GitHub pages urls (#454) 2019-09-30 11:26:27 -03:00
Brian Foley b4b7dca0d2 Fix miscellaneous spelling typos. (#397) 2019-07-25 19:25:26 -03:00
Santiago Pastorino 093e1f0169 Place is now a struct on nightly 2019-07-25 16:26:54 -05:00
Yuki Okushi 1774649715 Minor fix in borrow_check
Fixes as follows:

- fixes spelling
- removes unnecessary white spaces and blank lines
2019-07-17 10:40:33 -05:00
Yuki Okushi b5a2b9353c Fix broken links (#382) 2019-07-04 14:41:50 +03:00
Mark Mansi c6d994370b fix mdbook test 2019-06-26 14:34:56 -05:00
Mark Mansi 87e355245c fix links 2019-06-26 14:26:14 -05:00
Niko Matsakis ed95356868 add `point` to the glossary and link a use of it 2019-06-26 11:05:58 -05:00
Niko Matsakis a8de9a1a49 fix indentation 2019-06-26 11:05:58 -05:00
Niko Matsakis 364f0e4f8a Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 5bfca5a871 Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis edeb237444 Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 0c6f78907a Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00