We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dcad8c commit c57f285Copy full SHA for c57f285
stdlib/public/core/UnsafeBufferPointer.swift.gyb
@@ -671,8 +671,9 @@ extension Unsafe${Mutable}BufferPointer {
671
/// - Returns: An iterator to any elements of `source` that didn't fit in the
672
/// buffer, and an index to the next uninitialized element in the buffer.
673
@inlinable // unsafe-performance
674
- public func initialize<S: Sequence>(from source: S) -> (S.Iterator, Index)
675
- where S.Element == Element {
+ public func initialize<S: Sequence>(
+ from source: S
676
+ ) -> (unwritten: S.Iterator, index: Index) where S.Element == Element {
677
return source._copyContents(initializing: self)
678
}
679
0 commit comments