mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
commit
692bfd1bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue