From 07be87efda16ceeeae3c3bc8e1da767af5dfc780 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Mon, 10 Nov 2025 10:24:09 +0200 Subject: [PATCH] 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 --- src/const_eval.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/const_eval.md b/src/const_eval.md index 7cb85dc266..04146adf6f 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -55,7 +55,7 @@ r[const-eval.const-expr.array] * [Array expressions]. r[const-eval.const-expr.constructor] -* [Struct] expressions. +* [Struct expressions]. r[const-eval.const-expr.block] * [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 [range expressions]: expressions/range-expr.md [slice]: types/slice.md [statics]: items/static-items.md -[struct]: expressions/struct-expr.md +[Struct expressions]: expressions/struct-expr.md [temporary lifetime extension]: destructors.scope.lifetime-extension [tuple enum variant]: items/enumerations.md [tuple expressions]: expressions/tuple-expr.md