Skip to content

Commit 857f2c9

Browse files
committed
fix links
1 parent 4b49378 commit 857f2c9

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/destructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ variable or field from being dropped automatically.
8282
[Assignment]: expressions/operator-expr.html#assignment-expressions
8383
[`std::ops::Drop::drop`]: ../std/ops/trait.Drop.html
8484
[RFC 1857]: https://github.com/rust-lang/rfcs/blob/master/text/1857-stabilize-drop-order.md
85-
[struct]: types.html#struct
85+
[struct]: types.html#struct-types
8686
[tuple]: types.html#tuple-types
87-
[enum variant]: types.html#enumeration-types
87+
[enum variant]: types.html#enumerated-types
8888
[array]: types.html#array-and-slice-types
8989
[closure]: types.html#closure-types
9090
[Trait objects]: types.html#trait-objects

src/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ or _rvalue context_. The evaluation of an expression depends both on its own
5252
category and the context it occurs within.
5353

5454
An lvalue is an expression that represents a memory location. These expressions
55-
are [paths](#path-expressions) which refer to local variables, static
55+
are [paths](expressions/path-expr.html) which refer to local variables, static
5656
variables, function parameters, [dereferences] (`*expr`), [array indexing]
5757
expressions (`expr[expr]`), [field] references (`expr.f`) and parenthesized
5858
lvalue expressions. All other expressions are rvalues.

src/expressions/method-call-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let log_pi = pi.unwrap_or(1.0).log(2.72);
1616

1717
When resolving method calls on an expression of type `A`, Rust will use the
1818
following order, only looking at methods that are
19-
[visible](#visibility-and-privacy.html) and traits that are in scope:
19+
[visible](visibility-and-privacy.html) and traits that are in scope:
2020

2121
1. Inherent methods, with receiver of type `A`, `&A`, `&mut A`.
2222
1. Trait methods with receiver of type `A`.

src/expressions/operator-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ An _assignment expression_ consists of an
304304
[lvalue](expressions.html#lvalues-and-rvalues) expression followed by an equals
305305
sign (`=`) and an [rvalue](expressions.html#lvalues-and-rvalues) expression.
306306

307-
Evaluating an assignment expression [drops](destructors.hmtl) the left-hand
307+
Evaluating an assignment expression [drops](destructors.html) the left-hand
308308
operand, unless it's an unitialized local variable or field of a local variable,
309309
and [either copies or moves](expressions.html#moved-and-copied-types) its
310310
right-hand operand to its left-hand operand. The left-hand operand must be an

src/items/static-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ statics:
1515
* The types of static values must ascribe to `Sync` to allow thread-safe
1616
access.
1717
* Statics allow using paths to statics in the
18-
[constant-expression](#expresions.html#constant-expressions) used to
18+
[constant-expression](expressions.html#constant-expressions) used to
1919
initialize them, but statics may not refer to other statics by value, only by
2020
reference.
2121
* Constants cannot refer to statics.

src/paths.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ mod without { // ::without
167167
[expression]: expressions.html
168168
[implementations]: items/implementations.html
169169
[modules]: items/modules.html
170-
[use declarations]: items/use_declarations.html
170+
[use declarations]: items/use-declarations.html

src/tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tokens are primitive productions in the grammar defined by regular
55
production] form, and occur in the rest of the
66
grammar as double-quoted strings. Other tokens have exact rules given.
77

8-
[string table production]: string-table-productions.html
8+
[string table production]: notation.html#string-table-productions
99

1010
## Literals
1111

0 commit comments

Comments
 (0)