diff --git a/docs/flow.md b/docs/flow.md index bb35b2ecec..0405e80df4 100644 --- a/docs/flow.md +++ b/docs/flow.md @@ -54,16 +54,16 @@ multiple asynchronously computed values? This is where Kotlin Flows come in. ### Representing multiple values Multiple values can be represented in Kotlin using [collections]. -For example, we can have a function `foo()` that returns a [List] +For example, we can have a `simple` function that returns a [List] of three numbers and then print them all using [forEach]: