common/prque: fix typo

This commit is contained in:
Seungbae.yu 2022-06-30 13:24:04 +09:00 committed by GitHub
parent 5e252282c0
commit a1cb7282b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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