aboutsummaryrefslogtreecommitdiff
path: root/std/prelude/strings.pk
diff options
context:
space:
mode:
Diffstat (limited to 'std/prelude/strings.pk')
-rw-r--r--std/prelude/strings.pk3
1 files changed, 2 insertions, 1 deletions
diff --git a/std/prelude/strings.pk b/std/prelude/strings.pk
index 6abca31..2f48b67 100644
--- a/std/prelude/strings.pk
+++ b/std/prelude/strings.pk
@@ -89,7 +89,7 @@ pub func chars(self: str): list[chr] # todo: useful?
pub func &(a: str, b: str): str =
...
-## Syntatic sugar for string appending.
+## Syntactic sugar for string appending.
pub func &=(a: mut str, b: owned str) =
a.push(b)
@@ -98,3 +98,4 @@ pub func &=(a: mut str, b: owned str) =
# pub func iter(self: str): StrIter
# pub func next(self: mut StrIter)
# pub func peek(self: mut StrIter)
+# pub func peek_nth(self: mut StrIter, i: uint)