Codebase list golang-github-vbauerster-mpb / 4db2b39
minor: correct pq.Less comment Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
55 func (pq priorityQueue) Len() int { return len(pq) }
66
77 func (pq priorityQueue) Less(i, j int) bool {
8 // less priority pops first
8 // greater priority pops first
99 return pq[i].priority > pq[j].priority
1010 }
1111