minor improvements to the docs

This commit is contained in:
Araq 2014-12-14 11:50:10 +01:00
commit 9724bd4e1b
6 changed files with 54 additions and 52 deletions

View file

@ -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