Skip to content

Commit 4d133ab

Browse files
authored
Merge pull request #2660 from ehuss/fix-links
Fix some broken links
2 parents 6e5eb9b + ce213a5 commit 4d133ab

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

src/appendix/bibliography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Rust, as well as publications about Rust.
3232
* [Scheduling techniques for concurrent systems](https://www.stanford.edu/~ouster/cgi-bin/papers/coscheduling.pdf)
3333
* [Singularity: rethinking the software stack](https://research.microsoft.com/pubs/69431/osr2007_rethinkingsoftwarestack.pdf)
3434
* [The data locality of work stealing](http://www.aladdin.cs.cmu.edu/papers/pdfs/y2000/locality_spaa00.pdf)
35-
* [Thread scheduling for multiprogramming multiprocessors](https://www.eecis.udel.edu/%7Ecavazos/cisc879-spring2008/papers/arora98thread.pdf)
35+
* [Thread scheduling for multiprogramming multiprocessors](https://dl.acm.org/doi/10.1145/277651.277678)
3636
* [Three layer cake for shared-memory programming](https://dl.acm.org/doi/10.1145/1953611.1953616)
3737
* [Work-first and help-first scheduling policies for async-finish task parallelism](https://dl.acm.org/doi/10.1109/IPDPS.2009.5161079) - More general than fully-strict work stealing
3838

src/appendix/code-index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Item | Kind | Short description | Chapter |
1616
`HirId` | struct | One of four types of HIR node identifiers | [Identifiers in the HIR] | [compiler/rustc_hir_id/src/lib.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/struct.HirId.html)
1717
`Lexer` | struct | This is the lexer used during parsing. It consumes characters from the raw source code being compiled and produces a series of tokens for use by the rest of the parser | [The parser] | [compiler/rustc_parse/src/lexer/mod.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/struct.Lexer.html)
1818
`NodeId` | struct | One of four types of HIR node identifiers. Being phased out | [Identifiers in the HIR] | [compiler/rustc_ast/src/ast.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/node_id/struct.NodeId.html)
19-
`P` | struct | An owned immutable smart pointer. By contrast, `&T` is not owned, and `Box<T>` is not immutable. | None | [compiler/rustc_ast/src/ptr.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/ptr/struct.P.html)
2019
`ParamEnv` | struct | Information about generic parameters or `Self`, useful for working with associated or generic items | [Parameter Environment] | [compiler/rustc_middle/src/ty/mod.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.ParamEnv.html)
2120
`ParseSess` | struct | This struct contains information about a parsing session | [The parser] | [compiler/rustc_session/src/parse/parse.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/parse/struct.ParseSess.html)
2221
`Rib` | struct | Represents a single scope of names | [Name resolution] | [compiler/rustc_resolve/src/lib.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/late/struct.Rib.html)

src/backend/libs-and-metadata.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ crate name, so they need to be disambiguated).
133133

134134
Crate loading can have quite a few subtle complexities. During [name
135135
resolution], when an external crate is referenced (via an `extern crate` or
136-
path), the resolver uses the [`CrateLoader`] which is responsible for finding
136+
path), the resolver uses the [`CStore`] which is responsible for finding
137137
the crate libraries and loading the [metadata] for them. After the dependency
138-
is loaded, the `CrateLoader` will provide the information the resolver needs
138+
is loaded, the `CStore` will provide the information the resolver needs
139139
to perform its job (such as expanding macros, resolving paths, etc.).
140140

141-
To load each external crate, the `CrateLoader` uses a [`CrateLocator`] to
141+
To load each external crate, the `CStore` uses a [`CrateLocator`] to
142142
actually find the correct files for one specific crate. There is some great
143143
documentation in the [`locator`] module that goes into detail on how loading
144144
works, and I strongly suggest reading it to get the full picture.
@@ -157,7 +157,6 @@ wrapped in the [`CrateMetadata`] struct. After resolution and expansion, the
157157
compilation.
158158

159159
[name resolution]: ../name-resolution.md
160-
[`CrateLoader`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/creader/struct.CrateLoader.html
161160
[`CrateLocator`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/locator/struct.CrateLocator.html
162161
[`locator`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/locator/index.html
163162
[`CStore`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/creader/struct.CStore.html

src/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Just a few things to keep in mind:
468468
#### ⚠️ Note: Where to contribute `rustc-dev-guide` changes
469469

470470
For detailed information about where to contribute rustc-dev-guide changes and the benefits of doing so,
471-
see [the rustc-dev-guide working group documentation].
471+
see [the rustc-dev-guide team documentation].
472472

473473
## Issue triage
474474

@@ -485,7 +485,7 @@ Please see <https://forge.rust-lang.org/release/issue-triaging.html>.
485485
[regression-]: https://github.com/rust-lang/rust/labels?q=regression
486486
[relnotes]: https://github.com/rust-lang/rust/labels/relnotes
487487
[S-tracking-]: https://github.com/rust-lang/rust/labels?q=s-tracking
488-
[the rustc-dev-guide working group documentation]: https://forge.rust-lang.org/wg-rustc-dev-guide/index.html#where-to-contribute-rustc-dev-guide-changes
488+
[the rustc-dev-guide team documentation]: https://forge.rust-lang.org/rustc-dev-guide/index.html#where-to-contribute-rustc-dev-guide-changes
489489

490490
### rfcbot labels
491491

src/llvm-coverage-instrumentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ Note that when building `rustc`,
8484
`profiler_builtins` is only included when `build.profiler = true` is set in `bootstrap.toml`.
8585

8686
When compiling with `-C instrument-coverage`,
87-
[`CrateLoader::postprocess()`][crate-loader-postprocess] dynamically loads
87+
[`CStore::postprocess()`][crate-loader-postprocess] dynamically loads
8888
`profiler_builtins` by calling `inject_profiler_runtime()`.
8989

9090
[compiler-rt-profile]: https://github.com/llvm/llvm-project/tree/main/compiler-rt/lib/profile
91-
[crate-loader-postprocess]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/creader/struct.CrateLoader.html#method.postprocess
91+
[crate-loader-postprocess]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/creader/struct.CStore.html#method.postprocess
9292

9393
## Testing coverage instrumentation
9494

src/mir/drop-elaboration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ known to be uninitialized) to run these checks.
188188

189189
[RFC 320]: https://rust-lang.github.io/rfcs/0320-nonzeroing-dynamic-drop.html
190190
[reference-drop]: https://doc.rust-lang.org/reference/destructors.html
191-
[drops]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir_dataflow/src/elaborate_drops.rs
191+
[drops]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir_transform/src/elaborate_drops.rs
192192
[drops-shim]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir_transform/src/shim.rs
193193
[drops-transform]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir_transform/src/elaborate_drops.rs

0 commit comments

Comments
 (0)