minor improvements to the docs
This commit is contained in:
parent
bebac34f87
commit
9724bd4e1b
6 changed files with 54 additions and 52 deletions
|
|
@ -250,7 +250,7 @@ Another common example is this:
|
|||
yield "Hello"
|
||||
yield "World"
|
||||
|
||||
var info = something().toSeq()
|
||||
var info = toSeq(something())
|
||||
|
||||
The problem here is that the compiler already decided that ``something()`` as
|
||||
an iterator is not callable in this context before ``toSeq`` gets its
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue