Skip to content

Commit 59050e6

Browse files
committed
Clarify whose are constraints.
According to @moritz's comment in the IRC conversation pointed from the issue. Closes #1217.
1 parent e76ec8f commit 59050e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/containers.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ last resort, you can use Promises to L<handle|/type/Promise#method_in> timeouts.
324324
Any container can have a type constraint in the form of
325325
a L<type object|/language/typesystem#Type_objects> or a L<subset|/language/typesystem#subset>.
326326
Both can be placed between a declarator and the variable name or after the trait L<of|/type/Variable#trait_is_dynamic>.
327-
The constraint is a property of the container, not the variable.
327+
The constraint is a property of the variable, not the container.
328328
329329
Variables may have no container in them, yet still offer the ability to
330330
re-bind and typecheck that rebind. The reason for that is in such cases the

0 commit comments

Comments
 (0)