aboutsummaryrefslogtreecommitdiffstats
path: root/deque.go
diff options
context:
space:
mode:
Diffstat (limited to 'deque.go')
-rw-r--r--deque.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/deque.go b/deque.go
index e8a9018..40a3d6f 100644
--- a/deque.go
+++ b/deque.go
@@ -1,8 +1,10 @@
+// Copyright 2025, 2026 Rose Hogenson <r@roseh.moe>
+
// Package deque implements a double-ended queue (deque) implemented with a
// slice-backed ring buffer.
//
// This queue has O(1) amortized inserts and removals from both ends of the
-// container. It also has O(1) indexing like a vector.
+// container. It also has O(1) indexing like a slice.
//
// The "default" usage of this type as a queue is to use [Deque.PushBack] to add
// to the queue, and [Deque.PopFront] to remove from the queue. Iterating over