Skip to content

Commit 904b9fa

Browse files
author
Ary Borenszweig
committedJan 5, 2017
Fixed argument name typo
1 parent 6256f77 commit 904b9fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/int.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ struct Int
340340
TimesIterator(typeof(self)).new(self)
341341
end
342342

343-
def upto(n, &block : self ->) : Nil
343+
def upto(to, &block : self ->) : Nil
344344
x = self
345345
while x <= to
346346
yield x

0 commit comments

Comments
 (0)
Please sign in to comment.