aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/chapter0_basics/lesson13_type_aliases/en.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/chapter0_basics/lesson13_type_aliases/en.html b/src/content/chapter0_basics/lesson13_type_aliases/en.html
index 6767faf..9fddd70 100644
--- a/src/content/chapter0_basics/lesson13_type_aliases/en.html
+++ b/src/content/chapter0_basics/lesson13_type_aliases/en.html
@@ -3,6 +3,10 @@
an alias doesn't make a new type, it is still the same type.
</p>
<p>
+ A type's name always starts with a capital letter, contrasting to variables
+ and functions, which start with a lowercase letter.
+</p>
+<p>
When the <code>pub</code> keyword is used the type alias is public and can be
referred to by other modules.
</p>