aboutsummaryrefslogtreecommitdiff
path: root/core/slice
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-09 20:40:13 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-09 20:40:13 +0200
commit2bc409eab53bb7208ec59d431112489eb9d226db (patch)
tree386e11a8e30d77637a65474d9ef71a0d7c4797f5 /core/slice
parent8a35acd50609e3ac1463bffebc79955b7ea619b8 (diff)
More package lines.
Diffstat (limited to 'core/slice')
-rw-r--r--core/slice/heap/heap.odin6
-rw-r--r--core/slice/slice.odin1
2 files changed, 4 insertions, 3 deletions
diff --git a/core/slice/heap/heap.odin b/core/slice/heap/heap.odin
index 7480a1673..f3c016656 100644
--- a/core/slice/heap/heap.odin
+++ b/core/slice/heap/heap.odin
@@ -1,3 +1,6 @@
+// package heap implements a generic in-place max heap on a slice for any type.
+package heap
+
/*
Copyright 2022 Dale Weiler <weilercdale@gmail.com>.
Made available under Odin's BSD-3 license.
@@ -6,9 +9,6 @@
Dale Weiler: Initial implementation
*/
-// Package implements a generic max heap in-place on a slice for any type.
-package heap
-
/*
Constructs a max heap in slice given by data with comparator. A max heap is
a range of elements which has the following properties:
diff --git a/core/slice/slice.odin b/core/slice/slice.odin
index 8337a9728..b103473b7 100644
--- a/core/slice/slice.odin
+++ b/core/slice/slice.odin
@@ -1,3 +1,4 @@
+// package slice implements utility procedures for working with slices, including sorting and searching them.
package slice
import "base:intrinsics"