mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] update for 'inout' adjustment (SE-0031)
This commit is contained in:
@@ -21,7 +21,7 @@ let arrayCount = 1024
|
||||
func _arrayReplace<B: _ArrayBufferType, C: CollectionType
|
||||
where C.Generator.Element == B.Element, B.Index == Int
|
||||
>(
|
||||
inout target: B, _ subRange: Range<Int>, _ newValues: C
|
||||
target: inout B, _ subRange: Range<Int>, _ newValues: C
|
||||
) {
|
||||
_precondition(
|
||||
subRange.startIndex >= 0,
|
||||
|
||||
Reference in New Issue
Block a user