mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update benchmark code for SE-0081 moved where clause - NFC
This commit is contained in:
@@ -35,11 +35,11 @@ extension Array : MyArrayBufferProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
func myArrayReplace<B: MyArrayBufferProtocol, C: Collection
|
||||
where C.Iterator.Element == B.Element, B.Index == Int
|
||||
>(
|
||||
_ target: inout B, _ subRange: Range<Int>, _ newValues: C
|
||||
) {
|
||||
func myArrayReplace<
|
||||
B: MyArrayBufferProtocol,
|
||||
C: Collection
|
||||
>(_ target: inout B, _ subRange: Range<Int>, _ newValues: C)
|
||||
where C.Iterator.Element == B.Element, B.Index == Int {
|
||||
target.myReplace(subRange, with: newValues)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user