mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
common/prque: fix typo (#25206)
This commit is contained in:
parent
a03e11186c
commit
1bff428a39
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue