common/prque: fix typo (#25206)

This commit is contained in:
Seungbae.yu 2022-06-30 13:24:04 +09:00 committed by Daniel Liu
parent a03e11186c
commit 1bff428a39

View file

@ -164,7 +164,7 @@ func (q *LazyQueue) PopItem() interface{} {
return i
}
// Remove removes removes the item with the given index.
// Remove removes the item with the given index.
func (q *LazyQueue) Remove(index int) interface{} {
if index < 0 {
return nil