From 424601a08c0010857d0247616c18bb6db0781f0f Mon Sep 17 00:00:00 2001
From: Louis Pilfold
Date: Wed, 6 Mar 2024 13:28:27 +0000
Subject: Document case
---
src/content/chapter0_basics/lesson13_type_aliases/en.html | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'src/content/chapter0_basics')
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
@@ -2,6 +2,10 @@
A type alias can be used to refer to a type by a different name. Giving a type
an alias doesn't make a new type, it is still the same type.
+
+ A type's name always starts with a capital letter, contrasting to variables
+ and functions, which start with a lowercase letter.
+
When the pub
keyword is used the type alias is public and can be
referred to by other modules.
--
cgit v1.2.3