Skip to content

Commit afdf2a5

Browse files
author
Dasmer Singh
committed
[README] remove parens from for loop
[README] make indentation consistent
1 parent b328792 commit afdf2a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ let fetcher = EmojiFetcher()
2626
##### 2. Use EmojiFetcher's `query` function to get an array of `Emoji` structs that match the given search string.
2727

2828
```swift
29-
fetcher.query("food") { emojiResults in
30-
for (emoji) in emojiResults {
31-
print("Current Emoji: \(emoji.character) \(emoji.name)")
32-
}
29+
fetcher.query("food") { emojiResults in
30+
for emoji in emojiResults {
31+
print("Current Emoji: \(emoji.character) \(emoji.name)")
3332
}
33+
}
3434
```
3535

3636
Contributing

0 commit comments

Comments
 (0)