Skip to content

Commit 91ae793

Browse files
authored
Merge pull request #4200 from benrimmington/wrap-text-output-streamable
[stdlib] Wrap comments to 80 columns, NFC
2 parents d6fefcb + 4c80405 commit 91ae793

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

stdlib/public/core/Mirror.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,9 @@ extension String {
840840
/// string representation of `instance` in one of the following ways,
841841
/// depending on its protocol conformance:
842842
///
843-
/// - If `instance` conforms to the `TextOutputStreamable` protocol, the result is
844-
/// obtained by calling `instance.write(to: s)` on an empty string `s`.
843+
/// - If `instance` conforms to the `TextOutputStreamable` protocol, the
844+
/// result is obtained by calling `instance.write(to: s)` on an empty
845+
/// string `s`.
845846
/// - If `instance` conforms to the `CustomStringConvertible` protocol, the
846847
/// result is `instance.description`.
847848
/// - If `instance` conforms to the `CustomDebugStringConvertible` protocol,
@@ -890,8 +891,9 @@ extension String {
890891
/// the result is `subject.debugDescription`.
891892
/// - If `subject` conforms to the `CustomStringConvertible` protocol, the
892893
/// result is `subject.description`.
893-
/// - If `subject` conforms to the `TextOutputStreamable` protocol, the result is
894-
/// obtained by calling `subject.write(to: s)` on an empty string `s`.
894+
/// - If `subject` conforms to the `TextOutputStreamable` protocol, the
895+
/// result is obtained by calling `subject.write(to: s)` on an empty
896+
/// string `s`.
895897
/// - An unspecified result is supplied automatically by the Swift standard
896898
/// library.
897899
///

stdlib/public/core/Print.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ public func debugPrint(
173173
/// item.
174174
///
175175
/// - SeeAlso: `print(_:separator:terminator:)`,
176-
/// `debugPrint(_:separator:terminator:to:)`, `TextOutputStream`,
177-
/// `TextOutputStreamable`, `CustomStringConvertible`, `CustomDebugStringConvertible`
176+
/// `debugPrint(_:separator:terminator:to:)`,
177+
/// `TextOutputStream`, `TextOutputStreamable`,
178+
/// `CustomStringConvertible`, `CustomDebugStringConvertible`
178179
@inline(__always)
179180
public func print<Target : TextOutputStream>(
180181
_ items: Any...,
@@ -225,7 +226,8 @@ public func print<Target : TextOutputStream>(
225226
/// item.
226227
///
227228
/// - SeeAlso: `debugPrint(_:separator:terminator:)`,
228-
/// `print(_:separator:terminator:to:)`, `TextOutputStream`, `TextOutputStreamable`,
229+
/// `print(_:separator:terminator:to:)`,
230+
/// `TextOutputStream`, `TextOutputStreamable`,
229231
/// `CustomStringConvertible`, `CustomDebugStringConvertible`
230232
@inline(__always)
231233
public func debugPrint<Target : TextOutputStream>(

0 commit comments

Comments
 (0)