diff --git a/benchmark/single-source/DiffingMyers.swift b/benchmark/single-source/DiffingMyers.swift index 12f584b7571..bb7132657e5 100644 --- a/benchmark/single-source/DiffingMyers.swift +++ b/benchmark/single-source/DiffingMyers.swift @@ -187,9 +187,9 @@ fileprivate func myers( * necessary) is significantly less than the worst-case n² memory use of the * descent algorithm. */ - func _withContiguousStorage( - for values: C, - _ body: (UnsafeBufferPointer) throws -> R + func _withContiguousStorage( + for values: Col, + _ body: (UnsafeBufferPointer) throws -> R ) rethrows -> R { if let result = try values.withContiguousStorageIfAvailable(body) { return result } let array = ContiguousArray(values)