Skip to content

Commit

Permalink
Feedback from review
Browse files Browse the repository at this point in the history
Part 2

Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
  • Loading branch information
ShreyasKhandekar committed Sep 18, 2024
1 parent 852cf0a commit 28641b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/standard/Sort.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ The keyComparator interface
The ``keyComparator`` interface is used to sort data by a key value. Records
implementing this interface must define a ``key`` method.
It is an error for a comparator to contain a ``key`` method as well as one of
the other methods that are part of the ``relativeComparator`` or
``keyPartComparator`` interfaces.
Today, it is an error for a comparator implementing the ``keyComparator``
interface to contain a ``key`` method as well as one of the other methods
that are part of the ``relativeComparator`` or ``keyPartComparator``
interfaces. This restriction might be lifted in future releases.
The .key method
***************
Expand Down

0 comments on commit 28641b9

Please sign in to comment.