From 80a340e4649bff9aff4466fbd61a076a04624e4c Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Fri, 26 Apr 2024 15:19:15 +0200 Subject: Increase consistency and readability a tiny bit --- src/content/chapter5_advanced_features/lesson05_let_assert/en.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/chapter5_advanced_features/lesson05_let_assert/en.html') 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 @@

let assert is the final way to intentionally crash your Gleam - program. It is similar to the panic keyword in that it crashes + program. It's similar to the panic keyword in that it crashes when the program has reached a point that should never be reached.

- let assert is similar to let in that it is a way to - assign values to variables, but it is different in that the pattern can be + let assert is similar to let in that it's a way to + assign values to variables, but it's different in that the pattern can be partial. The pattern does not need to match every possible value of the type being assigned.

-- cgit v1.2.3