remove repetitive words

Signed-off-by: cuinix <915115094@qq.com>
This commit is contained in:
cuinix
2024-03-07 14:05:47 +08:00
parent 716c6dddd8
commit 60bc30dd08
15 changed files with 21 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ func (pq priorityQueue) Swap(i, j int) {
pq[i], pq[j] = pq[j], pq[i]
}
// Push adds a new item the the priorityQueue.
// Push adds a new item the priorityQueue.
func (pq *priorityQueue) Push(x interface{}) {
item := x.(PriorityQueueItem)
*pq = append(*pq, item)