diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-03-06 13:28:27 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-06 13:28:27 +0000 |
commit | 424601a08c0010857d0247616c18bb6db0781f0f (patch) | |
tree | 169ac74912473ee17792dd93622b2068c96f2957 /src | |
parent | 8fb6de2e2332c2139a1d93b9d8376ee524500395 (diff) | |
download | tour-424601a08c0010857d0247616c18bb6db0781f0f.tar.gz tour-424601a08c0010857d0247616c18bb6db0781f0f.zip |
Document case
Diffstat (limited to 'src')
-rw-r--r-- | src/content/chapter0_basics/lesson13_type_aliases/en.html | 4 |
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> |