Skip to content

Commit bf49985

Browse files
authored
const-eval.const-context.outer-generics: make more clear/obvious
The wording took some shortcuts that I think are not worth it
1 parent 879afe4 commit bf49985

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 and repeat length expressions as well as 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+
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.
262262

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

0 commit comments

Comments
 (0)