Skip to content

Commit 5884013

Browse files
committed
Eliminates Iterable
Which at least makes the example compile. Iterable is not used in the other examples, so I don't really get what it's doing there. It's not really relevant to the main topic, which is subscripts. The example should probably be improved, but that's a different thing altogether. Closes #1438.
1 parent c9f0961 commit 5884013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/subscripts.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ to that attribute (using a custom type constraint to make sure users don't
672672
insert anything invalid into it):
673673
674674
=begin code :skip-test
675-
class HTTP::Header does Associative does Iterable {
675+
class HTTP::Header does Associative {
676676
subset StrOrArrayOfStr where Str | ( Array & {.all ~~ Str} );
677677
678678
has %!fields of StrOrArrayOfStr

0 commit comments

Comments
 (0)