Skip to content

Commit 07be87e

Browse files
authored
const_eval.md: be more clear where link leads to
Having just "Struct" as the link makes it look like the target is about structs and not just struct expressions
1 parent 32b22e8 commit 07be87e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/const_eval.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ r[const-eval.const-expr.array]
5555
* [Array expressions].
5656

5757
r[const-eval.const-expr.constructor]
58-
* [Struct] expressions.
58+
* [Struct expressions].
5959

6060
r[const-eval.const-expr.block]
6161
* [Block expressions], including `unsafe` and `const` blocks.
@@ -332,7 +332,7 @@ The types of a const function's parameters and return type are restricted to tho
332332
[range expressions]: expressions/range-expr.md
333333
[slice]: types/slice.md
334334
[statics]: items/static-items.md
335-
[struct]: expressions/struct-expr.md
335+
[Struct expressions]: expressions/struct-expr.md
336336
[temporary lifetime extension]: destructors.scope.lifetime-extension
337337
[tuple enum variant]: items/enumerations.md
338338
[tuple expressions]: expressions/tuple-expr.md

0 commit comments

Comments
 (0)