File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
///
18
18
/// You can pass zero or more items to the `print(_:separator:terminator:)`
19
19
/// function. The textual representation for each item is the same as that
20
- /// obtained by calling `String(item)`. The following example prints a string,
21
- /// a closed range of integers, and a group of floating-point values to
22
- /// standard output:
20
+ /// obtained by calling `String(describing: item)`. The following example
21
+ /// prints a string, a closed range of integers, and a group of floating-point
22
+ /// values to standard output:
23
23
///
24
24
/// print("One two three four five")
25
25
/// // Prints "One two three four five"
@@ -128,8 +128,8 @@ public func debugPrint(
128
128
///
129
129
/// You can pass zero or more items to the `print(_:separator:terminator:to:)`
130
130
/// function. The textual representation for each item is the same as that
131
- /// obtained by calling `String(item)`. The following example prints a closed
132
- /// range of integers to a string:
131
+ /// obtained by calling `String(describing: item)`. The following example
132
+ /// prints a closed range of integers to a string:
133
133
///
134
134
/// var range = "My range: "
135
135
/// print(1...5, to: &range)
You can’t perform that action at this time.
0 commit comments