summaryrefslogtreecommitdiffstats
path: root/queue.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-09-15 11:45:04 -0400
committerSam Anthony <sam@samanthony.xyz>2025-09-15 11:45:04 -0400
commitabdfc41f64938dc77a23e35db2768e46e19f6d18 (patch)
tree651492ebaf9fd3d90834ca2f1f5499ec1d315480 /queue.go
parenta26dcba10a0d02a2e74784d87d93f5f5e53c5c24 (diff)
downloadshare-abdfc41f64938dc77a23e35db2768e46e19f6d18.zip
Diffstat (limited to 'queue.go')
-rw-r--r--queue.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/queue.go b/queue.go
index 5e28412..cd99994 100644
--- a/queue.go
+++ b/queue.go
@@ -8,8 +8,7 @@ package share
type Queue[T any] struct {
// Sending to Enqueue adds an element to the back of the Queue
// and never blocks.
- Enqueue chan<-T
-
+ Enqueue chan<- T
// Receiving from Dequeue removes an element from the front
// of the queue or, if the queue is empty, blocks until an element