Fix typo in variables page document

in the document, the given syntax has a typo.
This commit is contained in:
Ashish Singh 2023-09-16 16:07:06 +05:30 committed by GitHub
parent 15d8fe75b8
commit 59cb2683d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
public/variables generated
View File

@ -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 = &quot;apple&quot;</code> in this case.
<code>var f string := &quot;apple&quot;</code> in this case.
This syntax is only available inside functions.</p>
</td>