File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments