summaryrefslogtreecommitdiff
path: root/docs/std/string.md
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-26 00:39:31 +0000
committerGitHub <noreply@github.com>2026-01-26 00:39:31 +0000
commitca08979910e5a234a2423e4448ad0e284bf4f508 (patch)
treee09702f7b0850feb00a6af7f315bff7448c2ed26 /docs/std/string.md
parent6bef876bf900458a36260ca3fe96e23b06749d74 (diff)
parent97d0583c92c733aa8497a99f5267d50151f6e965 (diff)
Merge pull request #132 from Burnett01/fix/var-const-remains-in-examples
Housekeeping: Fix var/const remains in examples and docs
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"