Skip to content

Commit acd5c43

Browse files
committed
fix links
1 parent b26c4b6 commit acd5c43

7 files changed

+9
-9
lines changed

src/expressions/match-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ let message = match maybe_digit {
183183
[numeric types]: types.html#numeric-types
184184
[_InnerAttribute_]: attributes.html
185185
[_OuterAttribute_]: attributes.html
186-
[range]: range-expr.html
186+
[range]: expressions/range-expr.html

src/expressions/operator-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ assert_eq!(x, 14);
444444

445445
[_BorrowExpression_]: #borrow-operators
446446
[_DereferenceExpression_]: #the-dereference-operator
447-
[_ErrorPropagationExpression_]: #the--operator
447+
[_ErrorPropagationExpression_]: #the-question-mark-operator
448448
[_NegationExpression_]: #negation-operators
449449
[_ArithmeticOrLogicalExpression_]: #arithmetic-and-logical-binary-operators
450450
[_ComparisonExpression_]: #comparison-operators

src/items/constant-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn create_and_drop_zero_with_destructor() {
6161
```
6262

6363
[constant value]: expressions.html#constant-expressions
64-
[static lifetime elision]: items/lifetime-elision.html#static-lifetime-elision
64+
[static lifetime elision]: lifetime-elision.html#static-lifetime-elision
6565
[`Drop`]: special-types-and-traits.html#drop
6666
[IDENTIFIER]: identifiers.html
6767
[_Type_]: types.html

src/lifetime-elision.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ const RESOLVED_STATIC: &Fn(&Foo, &Bar) -> &Baz = ..
160160
```
161161

162162
[closure trait]: types.html#closure-types
163-
[constant]: items.html#constant-items
163+
[constant]: items/constant-items.html
164164
[function item]: types.html#function-item-types
165-
[function pointer]: types.html#function-pointers
165+
[function pointer]: types.html#function-pointer-types
166166
[implementation]: items/implementations.html
167167
[RFC 599]: https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md
168168
[RFC 1156]: https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md
169-
[static]: items.html#static-items
169+
[static]: items/static-items.html
170170
[trait object]: types.html#trait-objects
171171
[type aliases]: items/type-aliases.html

src/macros-by-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ syntax named by _designator_. Valid designators are:
3838
[expression]: expressions.html
3939
[type]: types.html
4040
[identifier]: identifiers.html
41-
[keyword]: keyword.html
41+
[keyword]: keywords.html
4242
[path]: paths.html
4343
[token]: tokens.html
4444
[attribute]: attributes.html

src/special-types-and-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ compiler, not by [implementation items].
139139
[indexing expressions]: expressions/array-expr.html#array-and-slice-indexing-expressions
140140
[interior mutability]: interior-mutability.html
141141
[Numeric types]: types.html#numeric-types
142-
[Methods]: items/traits.html#associated-functions-and-methods
142+
[Methods]: items/associated-items.html#associated-functions-and-methods
143143
[method resolution]: expressions/method-call-expr.html
144144
[operators]: expressions/operator-expr.html
145145
[orphan rules]: items/implementations.html#trait-implementation-coherence

src/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ need to be expressed as part of the trait object. This lifetime is written as
587587
`Trait + 'a`. There are [defaults] that allow this lifetime to usually be
588588
infered with a sensible choice.
589589

590-
[defaults]: lifetime-elision.html#elision-and-defaults-in-trait-objects
590+
[defaults]: lifetime-elision.html#default-trait-object-lifetimes
591591

592592
## Type parameters
593593

0 commit comments

Comments
 (0)