Skip to content

Commit 10182d9

Browse files
committed
Fix typos a -> an
1 parent bccd74b commit 10182d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SYNOPSIS
5252
}
5353
}
5454

55-
# specify Algorithm::MinMaxHeap::Comparable role as a item type
55+
# specify Algorithm::MinMaxHeap::Comparable role as an item type
5656
my $class-heap = Algorithm::MinMaxHeap.new(type => Algorithm::MinMaxHeap::Comparable);
5757
$class-heap.insert(State.new(value => 0));
5858
$class-heap.insert(State.new(value => 1));
@@ -98,7 +98,7 @@ METHODS
9898

9999
$heap.insert($item);
100100

101-
Inserts a item to the queue.
101+
Inserts an item to the queue.
102102

103103
### pop-max()
104104

lib/Algorithm/MinMaxHeap.pm6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ Algorithm::MinMaxHeap - double ended priority queue
404404
}
405405
}
406406
407-
# specify Algorithm::MinMaxHeap::Comparable role as a item type
407+
# specify Algorithm::MinMaxHeap::Comparable role as an item type
408408
my $class-heap = Algorithm::MinMaxHeap.new(type => Algorithm::MinMaxHeap::Comparable);
409409
$class-heap.insert(State.new(value => 0));
410410
$class-heap.insert(State.new(value => 1));
@@ -447,7 +447,7 @@ Sets either one of the type objects which you use to insert items to the heap.
447447
448448
$heap.insert($item);
449449
450-
Inserts a item to the queue.
450+
Inserts an item to the queue.
451451
452452
=head3 pop-max()
453453

0 commit comments

Comments
 (0)