summaryrefslogtreecommitdiff
path: root/docs/std/io.md
diff options
context:
space:
mode:
authorSteven <burnett@posteo.de>2026-01-25 23:54:29 +0000
committerSteven <burnett@posteo.de>2026-01-25 23:54:29 +0000
commit97d0583c92c733aa8497a99f5267d50151f6e965 (patch)
tree825c006266bf3a57ab4dbb2d3d7df2f9d9dcc21d /docs/std/io.md
parenta5e8a3734fd850de53ad917d55ee5c2e73f39190 (diff)
fix(docs): replace remaining var references with let
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();
}
```