summaryrefslogtreecommitdiff
path: root/docs/std/string.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/std/string.md')
-rw-r--r--docs/std/string.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/std/string.md b/docs/std/string.md
index 252b737..ae4b738 100644
--- a/docs/std/string.md
+++ b/docs/std/string.md
@@ -8,7 +8,7 @@
import "std/string.zc"
fn main() {
- var s = String::from("Hello");
+ let s = String::from("Hello");
s.append(String::from(" World"));
println "{s}"; // Prints "Hello World"