Skip to content

Commit 10f3e29

Browse files
airspeedswiftmilseman
authored andcommitted
[stdlib] Add consuming/owned annotations to Collection implementations (swiftlang#19360)
* Add consuming/owned annotations to Collection implementations * Update SILOptimizer tests * Fix access_marker_verify test * XFAIL reconstruct_type_from_mangled_name
1 parent 82da446 commit 10f3e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ extension Sequence where Element: StringProtocol {
979979
// This overload is necessary because String now conforms to
980980
// BidirectionalCollection, and there are other `joined` overloads that are
981981
// considered more specific. See Flatten.swift.gyb.
982-
extension BidirectionalCollection where Iterator.Element == String {
982+
extension BidirectionalCollection where Element == String {
983983
/// Returns a new string by concatenating the elements of the sequence,
984984
/// adding the given separator between each element.
985985
///

0 commit comments

Comments
 (0)