Skip to content

Commit

Permalink
add missing .append
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarywojcik authored Aug 17, 2016
1 parent f5f91ec commit e91958c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Make sure to read [Apple's API Design Guidelines](https://swift.org/documentatio

Specifics from these guidelines + additional remarks are mentioned below.

This guide was last updated for Swift 2.2 on August 7th, 2016.
This guide was last updated for Swift 2.2 on August 17th, 2016.

## Table Of Contents

Expand Down Expand Up @@ -374,7 +374,7 @@ let evenNumbers = [4, 8, 15, 16, 23, 42].filter { $0 % 2 == 0 }
var evenNumbers: [Int] = []
for integer in [4, 8, 15, 16, 23, 42] {
if integer % 2 == 0 {
evenNumbers(integer)
evenNumbers.append(integer)
}
}
```
Expand Down

0 comments on commit e91958c

Please sign in to comment.