aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhuman154 <46430360+human154@users.noreply.github.com>2024-02-21 23:02:28 -0500
committerLouis Pilfold <louis@lpil.uk>2024-02-22 10:11:11 +0000
commit6d69cee90a3c79b3fcc79deeea4336b077bd40fe (patch)
treed445d0b05cc636449c73e8461060a17f66531be4 /src
parent5f49767dafaacc0f8c721793206d13fbe654da99 (diff)
downloadtour-6d69cee90a3c79b3fcc79deeea4336b077bd40fe.tar.gz
tour-6d69cee90a3c79b3fcc79deeea4336b077bd40fe.zip
Clarify the meaning of a record.
Diffstat (limited to 'src')
-rw-r--r--src/content/chapter3_data_types/lesson02_records/en.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content/chapter3_data_types/lesson02_records/en.html b/src/content/chapter3_data_types/lesson02_records/en.html
index f515ccd..ea46e4d 100644
--- a/src/content/chapter3_data_types/lesson02_records/en.html
+++ b/src/content/chapter3_data_types/lesson02_records/en.html
@@ -1,6 +1,9 @@
-<p>Variants of a record can hold other data within them.</p>
<p>
- These fields can be given labels, and like function argument labels they can
+ A variant of a custom type can hold other data within it. In this case
+ the variant is called a record.
+</p>
+<p>
+ The fields of a record can be given labels, and like function argument labels they can
be optionally used when calling the record constructor. Typically labels will
be used for variants that define them.
</p>