summaryrefslogtreecommitdiff
path: root/docs/std/io.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/io.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/io.md')
-rw-r--r--docs/std/io.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/std/io.md b/docs/std/io.md
index 825728d..7f46940 100644
--- a/docs/std/io.md
+++ b/docs/std/io.md
@@ -12,11 +12,11 @@ fn main() {
io.println("Hello %s", "World");
// Formatting strings
- autofree var s = io.format_new("Value: %d", 42);
+ autofree let s = io.format_new("Value: %d", 42);
// Reading input
io.print("Enter name: ");
- autofree var name = io.readln();
+ autofree let name = io.readln();
}
```