Skip to content

Commit 4897aa0

Browse files
tshepangehuss
authored andcommitted
const-eval.const-expr.field: make paragraph more clear
1 parent 3eb2b8c commit 4897aa0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/const_eval.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ r[const-eval.const-expr.field]
6262
* [Field] expressions.
6363

6464
r[const-eval.const-expr.index]
65-
* Index expressions, [array indexing] or [slice] with a `usize`.
65+
* [Array and slice indexing expressions][array indexing], where the index is a `usize`.
6666

6767
r[const-eval.const-expr.range]
6868
* [Range expressions].
@@ -292,7 +292,6 @@ The types of a const function's parameters and return type are restricted to tho
292292
[arithmetic]: expressions/operator-expr.md#arithmetic-and-logical-binary-operators
293293
[array expressions]: expressions/array-expr.md
294294
[array indexing]: expressions/array-expr.md#array-and-slice-indexing-expressions
295-
[array indexing]: expressions/array-expr.md#array-and-slice-indexing-expressions
296295
[array type length expressions]: types/array.md
297296
[assignment expressions]: expressions/operator-expr.md#assignment-expressions
298297
[async]: items/functions.md#async-functions
@@ -335,7 +334,6 @@ The types of a const function's parameters and return type are restricted to tho
335334
[promoted expression]: destructors.md#constant-promotion
336335
[promoted]: destructors.md#constant-promotion
337336
[range expressions]: expressions/range-expr.md
338-
[slice]: types/slice.md
339337
[statics]: items/static-items.md
340338
[Struct expressions]: expressions/struct-expr.md
341339
[temporary lifetime extension]: destructors.scope.lifetime-extension

0 commit comments

Comments
 (0)