Skip to content

Commit

Permalink
BUGFIX: example code for downTo used upTo
Browse files Browse the repository at this point in the history
Example code in Int extension downTo showed up to
  • Loading branch information
evliu authored Jul 24, 2016
1 parent b3e9120 commit 65f4fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ Prints "HiHiHi"
Invoke the callback from int down to and including limit

```swift
3.upTo(0) {
3.downTo(0) {
print("Hi")
}
Prints "HiHiHiHi"
Expand Down

0 comments on commit 65f4fdc

Please sign in to comment.