Skip to content

Commit 1eecc90

Browse files
committed
print() overload with just string
1 parent dc3a25e commit 1eecc90

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/Functions.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public func fatalError(_ message: @autoclosure () -> String, file: String = #fil
8888
print(objects)
8989
}
9090

91+
public func print(string: String) {
92+
write(string)
93+
}
94+
9195
public func print(object: Object?, separator: String, terminator: String?) {
9296
if let object = object {
9397
write(object)

0 commit comments

Comments
 (0)