fix broken links

This commit is contained in:
Mark Mansi 2019-11-05 11:29:51 -06:00 committed by Who? Me?!
parent 73f6cdfe3e
commit e44ca1f9d1
4 changed files with 5 additions and 2 deletions

View File

@ -88,6 +88,7 @@ If you have a [`Place`] and you would like to convert it to a [`MovePathIndex`],
can do that using the [`MovePathLookup`] structure found in the [`rev_lookup`] field can do that using the [`MovePathLookup`] structure found in the [`rev_lookup`] field
of [`MoveData`]. There are two different methods: of [`MoveData`]. There are two different methods:
[`MoveData`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html
[`MovePathLookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MovePathLookup.html [`MovePathLookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MovePathLookup.html
[`rev_lookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html#structfield.rev_lookup [`rev_lookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html#structfield.rev_lookup

View File

@ -97,7 +97,7 @@ placement of impl Trait, though in the future it may not be the case.
We take some advantage of this fact, as it simplifies the current We take some advantage of this fact, as it simplifies the current
code. In particular, we don't have to consider a case like `'0 member code. In particular, we don't have to consider a case like `'0 member
of ['1, 'static]`, in which the value of both `'0` and `'1` are being of ['1, 'static]`, in which the value of both `'0` and `'1` are being
inferred and hence changing. See [rust-lang/rust#61773] for more inferred and hence changing. See [rust-lang/rust#61773][#61773] for more
information. information.
[#61773]: https://github.com/rust-lang/rust/issues/61773 [#61773]: https://github.com/rust-lang/rust/issues/61773

View File

@ -4,6 +4,8 @@ In the future, it would be nice to allow other codegen backends (e.g.
[Cranelift][cranelift]). To this end, `librustc_codegen_ssa` provides an [Cranelift][cranelift]). To this end, `librustc_codegen_ssa` provides an
abstract interface for all backends to implenent. abstract interface for all backends to implenent.
[cranelift]: https://github.com/CraneStation/cranelift
> The following is a copy/paste of a README from the rust-lang/rust repo. > The following is a copy/paste of a README from the rust-lang/rust repo.
> Please submit a PR if it needs updating. > Please submit a PR if it needs updating.

View File

@ -99,7 +99,7 @@ parameter `X` with respect to its defining class. `Term x Term`
represents the "variance transform" as defined in the paper: represents the "variance transform" as defined in the paper:
> If the variance of a type variable `X` in type expression `E` is `V2` > If the variance of a type variable `X` in type expression `E` is `V2`
and the definition-site variance of the [corresponding] type parameter and the definition-site variance of the corresponding type parameter
of a class `C` is `V1`, then the variance of `X` in the type expression of a class `C` is `V1`, then the variance of `X` in the type expression
`C<E>` is `V3 = V1.xform(V2)`. `C<E>` is `V3 = V1.xform(V2)`.