aboutsummaryrefslogtreecommitdiff
path: root/std/prelude/strings.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/strings.pk
parentd3c91164aff6a620348c81776fdae37fa41b81c3 (diff)
std: replace static with const, fix std.ast
Diffstat (limited to 'std/prelude/strings.pk')
-rw-r--r--std/prelude/strings.pk1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/prelude/strings.pk b/std/prelude/strings.pk
index e86d520..a8c72fb 100644
--- a/std/prelude/strings.pk
+++ b/std/prelude/strings.pk
@@ -6,6 +6,7 @@
##
## We do not want methods defined on `list[byte]` to carry over,
## so we define `str` as a newtype.
+@[opaque]
pub type str = struct
data: list[byte]