Skip to content

Commit

Permalink
Fix compilation in Xcode 14.1 (#53)
Browse files Browse the repository at this point in the history
Fixes #52.
  • Loading branch information
stephencelis authored Sep 20, 2022
1 parent 5195a70 commit 80e8a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/URLRouting/Body.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public struct Body<Bytes: Parser>: Parser where Bytes.Input == Data {
/// - Parameter bytesConversion: A conversion that transforms bytes into some other type.
@inlinable
public init<C>(_ bytesConversion: C)
where Bytes == Parsers.MapConversion<Parsers.ReplaceError<Rest<Bytes.Input>>, C> {
where Bytes == Parsers.MapConversion<Parsers.ReplaceError<Rest<Data>>, C> {
self.bytesParser = Rest().replaceError(with: .init()).map(bytesConversion)
}

Expand Down

0 comments on commit 80e8a02

Please sign in to comment.