Merge pull request #25206 from dbadoy/master

common/prque: fix typo
This commit is contained in:
Péter Szilágyi 2022-06-30 09:23:34 +03:00 committed by GitHub
commit 692bfd1bf8
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 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{} { func (q *LazyQueue) Remove(index int) interface{} {
if index < 0 { if index < 0 {
return nil return nil