From d9e4c59f589a8b674a8cb81635268f0d35ae366f Mon Sep 17 00:00:00 2001
From: Ashish Singh <45603733+siashish@users.noreply.github.com>
Date: Sat, 16 Sep 2023 16:14:04 +0530
Subject: [PATCH] Fix syntax example in the Variable page
In the variable page, fix the syntax according to the example
---
public/variables | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/variables b/public/variables
index 0c4ead8..6c2c5ca 100644
--- a/public/variables
+++ b/public/variables
@@ -122,7 +122,7 @@ zero value for an int
is 0
.
The :=
syntax is shorthand for declaring and
initializing a variable, e.g. for
-var f string := "apple"
in this case.
+f := "apple"
in this case.
This syntax is only available inside functions.