Skip to content

Commit 47ee6e8

Browse files
tshepangehuss
andauthored
improve wording
Co-authored-by: Eric Huss <eric@huss.org>
1 parent bf49985 commit 47ee6e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/const_eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ r[const-eval.const-context.block]
258258
* A [const block]
259259

260260
r[const-eval.const-context.outer-generics]
261-
Const contexts that are used as parts of types (array type expressions, array repeat length expressions, and const generic arguments) can only make restricted use of surrounding generic parameters: such an expression must either be a single bare const generic parameter, or an arbitrary expression not making use of any generics.
261+
Array type length expressions, array repeat length expressions, and const generic arguments are restricted in their use of outer generic parameters: such an expression must either be a single const generic parameter, or an expression that does not reference any generic parameters.
262262

263263
r[const-eval.const-fn]
264264
## Const functions

0 commit comments

Comments
 (0)