diff options
Diffstat (limited to 'std/prelude/lists.pk')
-rw-r--r-- | std/prelude/lists.pk | 2 |
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 |