aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter5_advanced_features/lesson05_let_assert/en.html
diff options
context:
space:
mode:
authorLars Kappert <lars@webpro.nl>2024-04-26 15:19:15 +0200
committerLouis Pilfold <louis@lpil.uk>2024-05-03 11:18:07 +0100
commit80a340e4649bff9aff4466fbd61a076a04624e4c (patch)
tree6af32df2541ca9913a8f46c5e24694aac8aec19d /src/content/chapter5_advanced_features/lesson05_let_assert/en.html
parentb8011ddb3597351883236c74c0e1739b50a3e25e (diff)
downloadtour-80a340e4649bff9aff4466fbd61a076a04624e4c.tar.gz
tour-80a340e4649bff9aff4466fbd61a076a04624e4c.zip
Increase consistency and readability a tiny bit
Diffstat (limited to 'src/content/chapter5_advanced_features/lesson05_let_assert/en.html')
-rw-r--r--src/content/chapter5_advanced_features/lesson05_let_assert/en.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/chapter5_advanced_features/lesson05_let_assert/en.html b/src/content/chapter5_advanced_features/lesson05_let_assert/en.html
index 29fd06c..0a6d10f 100644
--- a/src/content/chapter5_advanced_features/lesson05_let_assert/en.html
+++ b/src/content/chapter5_advanced_features/lesson05_let_assert/en.html
@@ -1,11 +1,11 @@
<p>
<code>let assert</code> is the final way to intentionally crash your Gleam
- program. It is similar to the <code>panic</code> keyword in that it crashes
+ program. It's similar to the <code>panic</code> keyword in that it crashes
when the program has reached a point that should never be reached.
</p>
<p>
- <code>let assert</code> is similar to <code>let</code> in that it is a way to
- assign values to variables, but it is different in that the pattern can be
+ <code>let assert</code> is similar to <code>let</code> in that it's a way to
+ assign values to variables, but it's different in that the pattern can be
<i>partial</i>. The pattern does not need to match every possible value of the
type being assigned.
</p>