Skip to content

Commit f87f140

Browse files
authored
Merge pull request #453 from ehuss/fix-const-expr
Fix broken links to constant expressions.
2 parents 5da9e0b + 27e0b18 commit f87f140

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/expressions/array-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ by implementing the [Index] and [IndexMut] traits.
7777
[memory location]: expressions.html#place-expressions-and-value-expressions
7878
[Index]: ../std/ops/trait.Index.html
7979
[IndexMut]: ../std/ops/trait.IndexMut.html
80-
[constant expression]: expressions.html#constant-expressions
80+
[constant expression]: const_eval.html#constant-expressions

src/items/constant-items.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn create_and_drop_zero_with_destructor() {
6060
}
6161
```
6262

63-
[constant value]: expressions.html#constant-expressions
63+
[constant value]: const_eval.html#constant-expressions
6464
[static lifetime elision]: lifetime-elision.html#static-lifetime-elision
6565
[`Drop`]: special-types-and-traits.html#drop
6666
[IDENTIFIER]: identifiers.html

src/items/static-items.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ following are true:
7070

7171
[constant]: items/constant-items.html
7272
[`drop`]: destructors.html
73-
[constant expression]: expressions.html#constant-expressions
73+
[constant expression]: const_eval.html#constant-expressions
7474
[interior mutable]: interior-mutability.html
7575
[IDENTIFIER]: identifiers.html
7676
[_Type_]: types.html

src/tokens.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ table production] form, and appear in `monospace` font.
2121
A literal is an expression consisting of a single token, rather than a sequence
2222
of tokens, that immediately and directly denotes the value it evaluates to,
2323
rather than referring to it by name or some other evaluation rule. A literal is
24-
a form of [constant expression](expressions.html#constant-expressions), so is
24+
a form of [constant expression](const_eval.html#constant-expressions), so is
2525
evaluated (primarily) at compile time.
2626

2727
### Examples

0 commit comments

Comments
 (0)