Skip to content

Commit 4357ca3

Browse files
authored
Merge pull request #865 from titsuki/fix-pair
Fix Pair examples
2 parents 85894ad + fdb41ec commit 4357ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Pair.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Defined as:
5454
Returns the I<key> part of the C<Pair>.
5555
5656
my $p = (Perl => 6);
57-
say $p.key;
57+
say $p.key; # Perl
5858
5959
=head2 method value
6060
@@ -65,7 +65,7 @@ Defined as:
6565
Returns the I<value> part of the C<Pair>.
6666
6767
my $p = (Perl => 6);
68-
say $p.key;
68+
say $p.value; # 6
6969
7070
=head2 infix cmp
7171

0 commit comments

Comments
 (0)