File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1140,24 +1140,24 @@ extension Sequence {
1140
1140
@inlinable
1141
1141
public __consuming func _copyContents(
1142
1142
initializing buffer: UnsafeMutableBufferPointer < Element >
1143
- ) -> ( Iterator , UnsafeMutableBufferPointer < Element > . Index ) {
1143
+ ) -> ( Iterator , UnsafeMutableBufferPointer < Element > . Index ) {
1144
1144
return _copySequenceContents ( initializing: buffer)
1145
1145
}
1146
1146
1147
1147
@_alwaysEmitIntoClient
1148
1148
internal __consuming func _copySequenceContents(
1149
1149
initializing buffer: UnsafeMutableBufferPointer < Element >
1150
- ) -> ( Iterator , UnsafeMutableBufferPointer < Element > . Index ) {
1150
+ ) -> ( Iterator , UnsafeMutableBufferPointer < Element > . Index ) {
1151
1151
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) }
1153
1153
for idx in buffer. startIndex..< buffer. count {
1154
1154
guard let x = it. next ( ) else {
1155
1155
return ( it, idx)
1156
1156
}
1157
1157
ptr. initialize ( to: x)
1158
1158
ptr += 1
1159
1159
}
1160
- return ( it, buffer. endIndex)
1160
+ return ( it, buffer. endIndex)
1161
1161
}
1162
1162
1163
1163
@inlinable
You can’t perform that action at this time.
0 commit comments