common/prque: fix typo

pull/25206/head
Seungbae.yu 2 years ago committed by GitHub
parent 5e252282c0
commit a1cb7282b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      common/prque/lazyqueue.go

@ -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…
Cancel
Save