Drop swift 4.2 support

This commit is contained in:
David Jennes
2022-07-27 03:12:59 +02:00
parent 256388ddc8
commit e6ee27f64e
6 changed files with 2 additions and 271 deletions

View File

@@ -1,9 +0,0 @@
import Foundation
#if !swift(>=4.2)
extension ArraySlice where Element: Equatable {
func firstIndex(of element: Element) -> Int? {
return index(of: element)
}
}
#endif