Skip to content

Commit 833a4ce

Browse files
committed
update inline code
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent c9a04cf commit 833a4ce

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/tim/engine/stdlib/inliner.nim

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,12 @@ const app* = parseJSON('$globalData')
8686
InlineCode* = """
8787
iterator `..`*(min: int, max: int): int {
8888
var i = $min
89-
if $i >= $max {
89+
if $i >= $max:
9090
yield($min)
91-
} else {
92-
while $i <= $max {
91+
else:
92+
while $i <= $max:
9393
yield($i)
9494
inc($i)
95-
}
96-
}
9795
}
9896
9997
iterator items*(data: json): json {

0 commit comments

Comments
 (0)