Skip to content

Commit 80e8a02

Browse files
authored
Fix compilation in Xcode 14.1 (#53)
Fixes #52.
1 parent 5195a70 commit 80e8a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/URLRouting/Body.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public struct Body<Bytes: Parser>: Parser where Bytes.Input == Data {
2626
/// - Parameter bytesConversion: A conversion that transforms bytes into some other type.
2727
@inlinable
2828
public init<C>(_ bytesConversion: C)
29-
where Bytes == Parsers.MapConversion<Parsers.ReplaceError<Rest<Bytes.Input>>, C> {
29+
where Bytes == Parsers.MapConversion<Parsers.ReplaceError<Rest<Data>>, C> {
3030
self.bytesParser = Rest().replaceError(with: .init()).map(bytesConversion)
3131
}
3232

0 commit comments

Comments
 (0)