diff options
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index b7c2214c9..38bb412d0 100644 --- a/changelog.md +++ b/changelog.md @@ -61,6 +61,11 @@ type ## Language additions +- Inline iterators returning `lent T` types are now supported, similarly to iterators returning `var T`: +```nim +iterator myitems[T](x: openarray[T]): lent T +iterator mypairs[T](x: openarray[T]): tuple[idx: int, val: lent T] +``` ## Language changes |