Skip to content

Commit 2f30304

Browse files
authored
[stdlib] Add missing terminating quotation character in examples (swiftlang#58927)
1 parent 78a4cb8 commit 2f30304

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stdlib/public/core/Reverse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension MutableCollection where Self: BidirectionalCollection {
1818
/// var characters: [Character] = ["C", "a", "f", "é"]
1919
/// characters.reverse()
2020
/// print(characters)
21-
/// // Prints "["é", "f", "a", "C"]
21+
/// // Prints "["é", "f", "a", "C"]"
2222
///
2323
/// - Complexity: O(*n*), where *n* is the number of elements in the
2424
/// collection.

stdlib/public/core/Zip.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/// print("\(word): \(number)")
2525
/// }
2626
/// // Prints "one: 1"
27-
/// // Prints "two: 2
27+
/// // Prints "two: 2"
2828
/// // Prints "three: 3"
2929
/// // Prints "four: 4"
3030
///
@@ -64,7 +64,7 @@ public func zip<Sequence1, Sequence2>(
6464
/// print("\(word): \(number)")
6565
/// }
6666
/// // Prints "one: 1"
67-
/// // Prints "two: 2
67+
/// // Prints "two: 2"
6868
/// // Prints "three: 3"
6969
/// // Prints "four: 4"
7070
@frozen // generic-performance

0 commit comments

Comments
 (0)