diff options
author | Araq <rumpf_a@web.de> | 2014-12-14 11:50:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-14 11:50:10 +0100 |
commit | 9724bd4e1b44a23650b0f74c90766fe937ad778b (patch) | |
tree | d67f7fe18158ccc95888e107611598389deec14a /doc/manual/templates.txt | |
parent | bebac34f878a87419c5d0e24a18edb50ebad5f0a (diff) | |
download | Nim-9724bd4e1b44a23650b0f74c90766fe937ad778b.tar.gz |
minor improvements to the docs
Diffstat (limited to 'doc/manual/templates.txt')
-rw-r--r-- | doc/manual/templates.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/templates.txt b/doc/manual/templates.txt index d90c2203e..64bf71a96 100644 --- a/doc/manual/templates.txt +++ b/doc/manual/templates.txt @@ -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 |