Skip to content

Commit

Permalink
fix typo (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyahui authored Nov 18, 2023
1 parent 58fe2d2 commit 93a748a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue/bytes_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (q *BytesQueue) allocateAdditionalMemory(minimum int) {

if q.tail <= q.head {
if q.tail != q.head {
// created slice is slightly larger then need but this is fine after only the needed bytes are copied
// created slice is slightly larger than need but this is fine after only the needed bytes are copied
q.push(make([]byte, q.head-q.tail), q.head-q.tail)
}

Expand Down

0 comments on commit 93a748a

Please sign in to comment.