Skip to content

Commit e44ca1f

Browse files
committed
fix broken links
1 parent 73f6cdf commit e44ca1f

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/borrow_check/moves_and_initialization/move_paths.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ If you have a [`Place`] and you would like to convert it to a [`MovePathIndex`],
8888
can do that using the [`MovePathLookup`] structure found in the [`rev_lookup`] field
8989
of [`MoveData`]. There are two different methods:
9090

91+
[`MoveData`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html
9192
[`MovePathLookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MovePathLookup.html
9293
[`rev_lookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html#structfield.rev_lookup
9394

src/borrow_check/region_inference/member_constraints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ placement of impl Trait, though in the future it may not be the case.
9797
We take some advantage of this fact, as it simplifies the current
9898
code. In particular, we don't have to consider a case like `'0 member
9999
of ['1, 'static]`, in which the value of both `'0` and `'1` are being
100-
inferred and hence changing. See [rust-lang/rust#61773] for more
100+
inferred and hence changing. See [rust-lang/rust#61773][#61773] for more
101101
information.
102102

103103
[#61773]: https://github.com/rust-lang/rust/issues/61773

src/codegen/backend-agnostic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ In the future, it would be nice to allow other codegen backends (e.g.
44
[Cranelift][cranelift]). To this end, `librustc_codegen_ssa` provides an
55
abstract interface for all backends to implenent.
66

7+
[cranelift]: https://github.com/CraneStation/cranelift
8+
79
> The following is a copy/paste of a README from the rust-lang/rust repo.
810
> Please submit a PR if it needs updating.
911

src/variance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ parameter `X` with respect to its defining class. `Term x Term`
9999
represents the "variance transform" as defined in the paper:
100100

101101
> If the variance of a type variable `X` in type expression `E` is `V2`
102-
and the definition-site variance of the [corresponding] type parameter
102+
and the definition-site variance of the corresponding type parameter
103103
of a class `C` is `V1`, then the variance of `X` in the type expression
104104
`C<E>` is `V3 = V1.xform(V2)`.
105105

0 commit comments

Comments
 (0)