fixes #1656
This commit is contained in:
parent
516a4d933f
commit
61c5c92f09
4 changed files with 9 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ iterator foo[T](x: iterator: T{.inline.}): T =
|
|||
|
||||
var s = @[1, 2, 3]
|
||||
|
||||
# pass an interator several levels deep:
|
||||
# pass an iterator several levels deep:
|
||||
for x in s.items.foo:
|
||||
echo x
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue