Skip to content

Commit

Permalink
Merge pull request #3435 from caseyjackmiles/3038-infix-cmp
Browse files Browse the repository at this point in the history
Use single angle brackets for infix cmp. Fixes #3038.
  • Loading branch information
JJ committed May 27, 2020
2 parents a075878 + ec314a9 commit 9f7e9a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/Type/DateTime.pod6
Expand Up @@ -454,9 +454,9 @@ Compares the equivalent instant, returns the Order.
say DateTime.now <=> DateTime.now; # OUTPUT: «Less␤»
=head2 sub infix:«cmp»
=head2 sub infix:<cmp>
multi sub infix:«cmp»(DateTime:D \a, DateTime:D \b --> Order:D)
multi sub infix:<cmp>(DateTime:D \a, DateTime:D \b --> Order:D)
Compares the equivalent instant, returns the Order.
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/List.pod6
Expand Up @@ -1374,7 +1374,7 @@ more thorough explanation.
=head1 Operators
=head2 infix C«cmp»
=head2 infix C<cmp>
multi sub infix:<cmp>(List @a, List @b)
Expand Down

0 comments on commit 9f7e9a0

Please sign in to comment.