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 5385db2 commit 89e48ffCopy full SHA for 89e48ff
stdlib/public/core/ContiguousArrayBuffer.swift
@@ -642,7 +642,7 @@ internal func _copyCollectionToContiguousArray<
642
_uninitializedCount: count,
643
minimumCapacity: 0)
644
645
- var p = UnsafeMutableBufferPointer(start: result.firstElementAddress, count: count)
+ let p = UnsafeMutableBufferPointer(start: result.firstElementAddress, count: count)
646
var (itr, end) = source._copyContents(initializing: p)
647
648
_debugPrecondition(itr.next() == nil,
0 commit comments