Fix syntax example in the Variable page
In the variable page, fix the syntax according to the example
This commit is contained in:
parent
59cb2683d1
commit
d9e4c59f58
2
public/variables
generated
2
public/variables
generated
@ -122,7 +122,7 @@ zero value for an <code>int</code> is <code>0</code>.</p>
|
||||
<td class="docs">
|
||||
<p>The <code>:=</code> syntax is shorthand for declaring and
|
||||
initializing a variable, e.g. for
|
||||
<code>var f string := "apple"</code> in this case.
|
||||
<code>f := "apple"</code> in this case.
|
||||
This syntax is only available inside functions.</p>
|
||||
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user