Skip to content

Commit 3f24561

Browse files
bsubeialexrp
authored andcommitted
link to Tuples section in Hello World docs, and give an example of an empty tuple
1 parent 9c45fb4 commit 3f24561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/langref.html.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@
379379

380380
<p>
381381
In this case, the {#syntax#}!{#endsyntax#} may be omitted from the return
382-
type because no errors are returned from the function.
382+
type of <code>main</code> because no errors are returned from the function.
383383
</p>
384-
{#see_also|Values|@import|Errors|Root Source File|Source Encoding#}
384+
{#see_also|Values|Tuples|@import|Errors|Root Source File|Source Encoding|try#}
385385
{#header_close#}
386386
{#header_open|Comments#}
387387
<p>
@@ -2295,7 +2295,7 @@ or
22952295

22962296
{#header_open|Tuples#}
22972297
<p>
2298-
Anonymous structs can be created without specifying field names, and are referred to as "tuples".
2298+
Anonymous structs can be created without specifying field names, and are referred to as "tuples". An empty tuple looks like <code>.{}</code> and can be seen in one of the {#link|Hello World examples|Hello World#}.
22992299
</p>
23002300
<p>
23012301
The fields are implicitly named using numbers starting from 0. Because their names are integers,

0 commit comments

Comments
 (0)