Skip to content

Commit e3ba566

Browse files
authored
Merge pull request #14135 from tkremenek/faster-print-4.1
Remove pessimization of print() performance in 4.1 branch.
2 parents f1ba749 + a10a715 commit e3ba566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/OutputStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ extension Unicode.Scalar : TextOutputStreamable {
624624
}
625625

626626
/// A hook for playgrounds to print through.
627-
public var _playgroundPrintHook : ((String) -> Void)? = {_ in () }
627+
public var _playgroundPrintHook : ((String) -> Void)? = nil
628628

629629
@_fixed_layout // FIXME(sil-serialize-all)
630630
@_versioned // FIXME(sil-serialize-all)

0 commit comments

Comments
 (0)