diff --git a/README.md b/README.md index e470f40..464813d 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ func main() { l := maxheap.Length() fmt.Println(t) // 5 - // Set Min option is to true for minheap + // Set Min option to true for minheap minheap := pqueue.NewHeap(pqueue.Options{ Min: true, }) diff --git a/pq_test.go b/pq_test.go index b449a26..51d7810 100644 --- a/pq_test.go +++ b/pq_test.go @@ -67,7 +67,7 @@ func TestMaxPriorityQueue(t *testing.T) { func TestMinPriorityQueue(t *testing.T) { - // Set Min option is to true for minheap + // Set Min option to true for minheap minheap := pqueue.NewHeap(pqueue.Options{ Min: true, })