Skip to content

Commit fe2499d

Browse files
committed
enumerate() is a protocol method now
1 parent 6c53013 commit fe2499d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ for _ in 0..<3 {
493493
println("Hello three times")
494494
}
495495

496-
for (index, person) in enumerate(attendeeList) {
496+
for (index, person) in attendeeList.enumerate() {
497497
println("\(person) is at position #\(index)")
498498
}
499499
```

0 commit comments

Comments
 (0)