diff --git a/Sources/URLRouting/Body.swift b/Sources/URLRouting/Body.swift index 7c4afacfac..0c11f4d2d6 100644 --- a/Sources/URLRouting/Body.swift +++ b/Sources/URLRouting/Body.swift @@ -26,7 +26,7 @@ public struct Body: Parser where Bytes.Input == Data { /// - Parameter bytesConversion: A conversion that transforms bytes into some other type. @inlinable public init(_ bytesConversion: C) - where Bytes == Parsers.MapConversion>, C> { + where Bytes == Parsers.MapConversion>, C> { self.bytesParser = Rest().replaceError(with: .init()).map(bytesConversion) }