summaryrefslogtreecommitdiffstats
path: root/queue.go
diff options
context:
space:
mode:
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