Skip to content

Commit

Permalink
Update docs/topics/scope-functions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Haggarty <[email protected]>
  • Loading branch information
Kaaveh and sarahhaggarty authored Oct 19, 2023
1 parent a7c686e commit f4f709c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/scope-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ fun main() {

You can also invoke `run` as a non-extension function. The non-extension variant of `run` has no context object, but it
still returns the lambda result. Non-extension `run` lets you execute a block of several statements where an expression
is required. In other words, it does group some temporary local variables for a calculation. You can read it as "_run the code block and return the result._"
is required. In code, non-extension `run` can be read as "_run the code block and compute the result._"

```kotlin
fun main() {
Expand Down

0 comments on commit f4f709c

Please sign in to comment.