From 97d0583c92c733aa8497a99f5267d50151f6e965 Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 25 Jan 2026 23:54:29 +0000 Subject: fix(docs): replace remaining var references with let --- docs/std/result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/std/result.md') diff --git a/docs/std/result.md b/docs/std/result.md index 1f9390e..da60b8d 100644 --- a/docs/std/result.md +++ b/docs/std/result.md @@ -15,7 +15,7 @@ fn divide(a: int, b: int) -> Result { } fn main() { - var res = divide(10, 2); + let res = divide(10, 2); if (res.is_ok()) { println "Result: {res.unwrap()}"; } else { -- cgit v1.2.3