common/prque: fix typo
This commit is contained in:
parent
5e252282c0
commit
a1cb7282b0
@ -163,7 +163,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
|
||||
|
Loading…
Reference in New Issue
Block a user