mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
docs: update comment for Size function of ArrayQueue
This commit is contained in:
@@ -33,7 +33,7 @@ func (q *ArrayQueue[T]) Data() []T {
|
||||
return items
|
||||
}
|
||||
|
||||
// Size return length of queue data
|
||||
// Size return number of elements in queue
|
||||
func (q *ArrayQueue[T]) Size() int {
|
||||
return q.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user