From abdfc41f64938dc77a23e35db2768e46e19f6d18 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 15 Sep 2025 11:45:04 -0400 Subject: deque --- queue.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'queue.go') 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 -- cgit v1.2.3