forked from quic-go/quic-go
ackhandler: remove the packet list element from the correct list
This commit is contained in:
@@ -43,6 +43,10 @@ func (e *Element[T]) Prev() *Element[T] {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *Element[T]) List() *List[T] {
|
||||
return e.list
|
||||
}
|
||||
|
||||
// List represents a doubly linked list.
|
||||
// The zero value for List is an empty list ready to use.
|
||||
type List[T any] struct {
|
||||
|
||||
Reference in New Issue
Block a user