mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-09 15:12:26 +08:00
docs: update function comments
This commit is contained in:
@@ -19,7 +19,7 @@ func NewLinkedQueue[T any]() *LinkedQueue[T] {
|
||||
return &LinkedQueue[T]{head: nil, tail: nil, length: 0}
|
||||
}
|
||||
|
||||
// Data return queue data
|
||||
// Data return slice of queue data
|
||||
func (q *LinkedQueue[T]) Data() []T {
|
||||
res := []T{}
|
||||
current := q.head
|
||||
|
||||
Reference in New Issue
Block a user