Skip to content

Commit 4aed3d1

Browse files
committed
[gardening] add spaces after commas, for readability
1 parent c2a7939 commit 4aed3d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/Sequence.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,24 +1140,24 @@ extension Sequence {
11401140
@inlinable
11411141
public __consuming func _copyContents(
11421142
initializing buffer: UnsafeMutableBufferPointer<Element>
1143-
) -> (Iterator,UnsafeMutableBufferPointer<Element>.Index) {
1143+
) -> (Iterator, UnsafeMutableBufferPointer<Element>.Index) {
11441144
return _copySequenceContents(initializing: buffer)
11451145
}
11461146

11471147
@_alwaysEmitIntoClient
11481148
internal __consuming func _copySequenceContents(
11491149
initializing buffer: UnsafeMutableBufferPointer<Element>
1150-
) -> (Iterator,UnsafeMutableBufferPointer<Element>.Index) {
1150+
) -> (Iterator, UnsafeMutableBufferPointer<Element>.Index) {
11511151
var it = self.makeIterator()
1152-
guard var ptr = buffer.baseAddress else { return (it,buffer.startIndex) }
1152+
guard var ptr = buffer.baseAddress else { return (it, buffer.startIndex) }
11531153
for idx in buffer.startIndex..<buffer.count {
11541154
guard let x = it.next() else {
11551155
return (it, idx)
11561156
}
11571157
ptr.initialize(to: x)
11581158
ptr += 1
11591159
}
1160-
return (it,buffer.endIndex)
1160+
return (it, buffer.endIndex)
11611161
}
11621162

11631163
@inlinable

0 commit comments

Comments
 (0)