aboutsummaryrefslogtreecommitdiff
path: root/std/prelude/lists.pk
diff options
context:
space:
mode:
authorJJ2024-05-10 07:54:48 +0000
committerJJ2024-05-10 07:54:48 +0000
commit199d8bbc6d5793d895311cb0d2296f3e1279a3e0 (patch)
treefc71fd1d2f20029294f309f2947559e5b4d3d704 /std/prelude/lists.pk
parentd3c91164aff6a620348c81776fdae37fa41b81c3 (diff)
std: replace static with const, fix std.ast
Diffstat (limited to 'std/prelude/lists.pk')
-rw-r--r--std/prelude/lists.pk2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/prelude/lists.pk b/std/prelude/lists.pk
index 57de91b..1bce693 100644
--- a/std/prelude/lists.pk
+++ b/std/prelude/lists.pk
@@ -4,7 +4,7 @@
## The fundamental list type. Heap-allocated.
## Equivalent to Vec<T> in other languages.
-@[unsafe] # unsafe on a struct tells us raw field access breaks invariants.
+@[opaque] # opaque on a struct tells us raw field access breaks invariants.
pub type list[T] = struct
data: ptr T
capacity: int