summaryrefslogtreecommitdiff
path: root/docs/std/path.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/path.md
parenta5e8a3734fd850de53ad917d55ee5c2e73f39190 (diff)
fix(docs): replace remaining var references with let
Diffstat (limited to 'docs/std/path.md')
-rw-r--r--docs/std/path.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/std/path.md b/docs/std/path.md
index 0be30fd..798144a 100644
--- a/docs/std/path.md
+++ b/docs/std/path.md
@@ -8,8 +8,8 @@
import "std/path.zc"
fn main() {
- var p = Path::new("/home/user");
- var full_path = p.join("docs/file.txt");
+ let p = Path::new("/home/user");
+ let full_path = p.join("docs/file.txt");
println "Full path: {full_path.c_str()}";