Skip to content

Commit b041c47

Browse files
committed
Update some links
1 parent a8add66 commit b041c47

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

src/borrow_check/region_inference.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,12 @@ The value of a region can be thought of as a **set**. This set contains all
7878
points in the MIR where the region is valid along with any regions that are
7979
outlived by this region (e.g. if `'a: 'b`, then `end('b)` is in the set for
8080
`'a`); we call the domain of this set a `RegionElement`. In the code, the value
81-
for all regions is maintained in [the
82-
`rustc_mir::borrow_check::nll::region_infer` module][ri]. For each region we
83-
maintain a set storing what elements are present in its value (to make this
81+
for all regions is maintained in [the `rustc_borrowck::region_infer` module][ri].
82+
For each region we maintain a set storing what elements are present in its value (to make this
8483
efficient, we give each kind of element an index, the `RegionElementIndex`, and
8584
use sparse bitsets).
8685

87-
[ri]: https://github.com/rust-lang/rust/tree/master/compiler/rustc_mir/src/borrow_check/region_infer/
86+
[ri]: https://github.com/rust-lang/rust/tree/master/compiler/rustc_borrowck/src/region_infer
8887

8988
The kinds of region elements are as follows:
9089

src/contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ where contributors push changes to their personal fork and create pull requests
6767
bring those changes into the source repository. We have more info about how to use git
6868
when contributing to Rust under [the git section](./git.md).
6969

70-
[about-pull-requests]: https://help.github.com/articles/about-pull-requests/
71-
[development-models]: https://help.github.com/articles/about-collaborative-development-models/
70+
[about-pull-requests]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
71+
[development-models]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models#fork-and-pull-model
7272

7373
### r?
7474

@@ -177,7 +177,7 @@ particularly during rebasing, citing the issue number in the commit can "spam"
177177
the issue in question.
178178

179179
[labeling]: ./rustbot.md#issue-relabeling
180-
[closing-keywords]: https://help.github.com/en/articles/closing-issues-using-keywords
180+
[closing-keywords]: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
181181

182182
### External Dependencies (subtree)
183183

src/git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ more in depth [book from Git].
1818

1919
[book from Git]: https://git-scm.com/book/en/v2/
2020
[atlassian-git]: https://www.atlassian.com/git/tutorials/what-is-version-control
21-
[documentation]: https://docs.github.com/en/github/getting-started-with-github/set-up-git
21+
[documentation]: https://docs.github.com/en/get-started/quickstart/set-up-git
2222
[guides]: https://guides.github.com/introduction/git-handbook/
2323

2424
## Prerequisites

src/query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ will in turn demand information about that crate, starting from the
3737
actual parsing.
3838

3939
Although this vision is not fully realized, large sections of the
40-
compiler (for example, generating [MIR](./mir/)) currently work exactly like this.
40+
compiler (for example, generating [MIR](./mir/index.md)) currently work exactly like this.
4141

4242
[^incr-comp-detail]: The ["Incremental Compilation in Detail](queries/incremental-compilation-in-detail.md) chapter gives a more
4343
in-depth description of what queries are and how they work.

src/tests/running.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ See [Compare modes](compiletest.md#compare-modes) for more details.
211211

212212
Sometimes it's easier and faster to just run the test by hand.
213213
Most tests are just `rs` files, so after
214-
[creating a rustup toolchain](/building/how-to-build-and-run.html#creating-a-rustup-toolchain),
214+
[creating a rustup toolchain](../building/how-to-build-and-run.md#creating-a-rustup-toolchain),
215215
you can do something like:
216216

217217
```bash

0 commit comments

Comments
 (0)