From b9f29b5d0f67a99dd2f7b11c99d59f6745621cf9 Mon Sep 17 00:00:00 2001 From: Parambir Singh Date: Wed, 24 May 2023 14:17:08 -0700 Subject: [PATCH] Update 01_let.md Fix a typo - use 'of' instead of 'on' --- examples/06_scope_functions/01_let.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/06_scope_functions/01_let.md b/examples/06_scope_functions/01_let.md index 118427c..e2f37f8 100644 --- a/examples/06_scope_functions/01_let.md +++ b/examples/06_scope_functions/01_let.md @@ -44,7 +44,7 @@ fun main() { ``` -1. Calls the given block on the result on the string "_test_". +1. Calls the given block on the result of the string "_test_". 2. Calls the function on "_test_" by the `it` reference. 3. `let` returns the value of this expression. 4. Uses safe call, so `let` and its code block will be executed only on non-null values.