From d530130be3f493977d875c6b972e64164a3ee7fc Mon Sep 17 00:00:00 2001 From: Sabrina Jewson Date: Tue, 8 Feb 2022 13:53:56 +0000 Subject: [PATCH 1/2] Fix link to the Bastion of the Turbofish --- src/glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glossary.md b/src/glossary.md index 8a3a270a1..678325fea 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -322,7 +322,7 @@ example of an uninhabited type is the [never type] `!`, or an enum with no varia [structs]: items/structs.md [trait objects]: types/trait-object.md [traits]: items/traits.md -[turbofish test]: https://github.com/rust-lang/rust/blob/master/src/test/ui/bastion-of-the-turbofish.rs +[turbofish test]: https://github.com/rust-lang/rust/blob/master/src/test/ui/parser/bastion-of-the-turbofish.rs [types of crates]: linkage.md [types]: types.md [undefined-behavior]: behavior-considered-undefined.md From dc064e08f202177dd0e9f14b6a782761df325b93 Mon Sep 17 00:00:00 2001 From: SabrinaJewson Date: Tue, 8 Feb 2022 15:06:10 +0000 Subject: [PATCH 2/2] Make all rust-lang/rust links permalinks --- src/expressions/operator-expr.md | 2 +- src/glossary.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/expressions/operator-expr.md b/src/expressions/operator-expr.md index d6fa4c23a..94bd0ca23 100644 --- a/src/expressions/operator-expr.md +++ b/src/expressions/operator-expr.md @@ -591,7 +591,7 @@ See [this test] for an example of using this dependency. [unit]: ../types/tuple.md [value expression]: ../expressions.md#place-expressions-and-value-expressions [temporary value]: ../expressions.md#temporaries -[this test]: https://github.com/rust-lang/rust/blob/master/src/test/ui/expr/compound-assignment/eval-order.rs +[this test]: https://github.com/rust-lang/rust/blob/1.58.0/src/test/ui/expr/compound-assignment/eval-order.rs [float-float]: https://github.com/rust-lang/rust/issues/15536 [Function pointer]: ../types/function-pointer.md [Function item]: ../types/function-item.md diff --git a/src/glossary.md b/src/glossary.md index 678325fea..b5074767c 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -322,7 +322,7 @@ example of an uninhabited type is the [never type] `!`, or an enum with no varia [structs]: items/structs.md [trait objects]: types/trait-object.md [traits]: items/traits.md -[turbofish test]: https://github.com/rust-lang/rust/blob/master/src/test/ui/parser/bastion-of-the-turbofish.rs +[turbofish test]: https://github.com/rust-lang/rust/blob/1.58.0/src/test/ui/parser/bastion-of-the-turbofish.rs [types of crates]: linkage.md [types]: types.md [undefined-behavior]: behavior-considered-undefined.md