Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
swift 5 warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Mar 26, 2019
1 parent 932024f commit 82d8d63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:4.1
import PackageDescription

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion Sources/URLEncodedForm/Data/URLEncodedFormParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private extension Data {

fileprivate extension Array {
/// Accesses an array index or returns `nil` if the array isn't long enough.
fileprivate subscript(safe index: Int) -> Element? {
subscript(safe index: Int) -> Element? {
guard index < count else {
return nil
}
Expand Down

0 comments on commit 82d8d63

Please sign in to comment.