Skip to content

Commit

Permalink
Fixed argument name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Jan 5, 2017
1 parent 6256f77 commit 904b9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/int.cr
Expand Up @@ -340,7 +340,7 @@ struct Int
TimesIterator(typeof(self)).new(self)
end

def upto(n, &block : self ->) : Nil
def upto(to, &block : self ->) : Nil
x = self
while x <= to
yield x
Expand Down

0 comments on commit 904b9fa

Please sign in to comment.