Skip to content

Commit e50199b

Browse files
committed
braces, not brackets
1 parent 13cbf90 commit e50199b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/structures.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ say %not-scalar; # OUTPUT: «{2 => 3, 3 => 4, thing => 3}␤»
266266
In this case, C<but> is mixing in the C<Associative[Int, Int]> role;
267267
please note that we are using binding so that the type of the variable
268268
is the one defined, and not the one imposed by the C<%> sigil; this
269-
mixed-in role shows in the C<name> surrounded by brackets. What does
269+
mixed-in role shows in the C<name> surrounded by curly braces. What does
270270
that really mean? That role includes two methods, C<of> and C<keyof>; by
271271
mixing the role in, the new C<of> will be called (the old C<of> would
272272
return C<Mu>, which is the default value type for Hashes). However, that

0 commit comments

Comments
 (0)