Skip to content

Commit 6628281

Browse files
committed
println -> print
1 parent 3fc6a52 commit 6628281

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class BoardLocation {
235235
self.column = column
236236

237237
let closure = {
238-
println(self.row)
238+
print(self.row)
239239
}
240240
}
241241
}
@@ -496,19 +496,19 @@ for _ in 0..<3 {
496496
}
497497

498498
for (index, person) in attendeeList.enumerate() {
499-
println("\(person) is at position #\(index)")
499+
print("\(person) is at position #\(index)")
500500
}
501501
```
502502

503503
**Not Preferred:**
504504
```swift
505505
for var i = 0; i < 3; i++ {
506-
println("Hello three times")
506+
print("Hello three times")
507507
}
508508

509509
for var i = 0; i < attendeeList.count; i++ {
510510
let person = attendeeList[i]
511-
println("\(person) is at position #\(i)")
511+
print("\(person) is at position #\(i)")
512512
}
513513
```
514514

0 commit comments

Comments
 (0)