diff options
Diffstat (limited to 'docs/std/io.md')
| -rw-r--r-- | docs/std/io.md | 4 |
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(); } ``` |
