From 9aefcdb7236dc7d37ef91e4398933a360c6b02ee Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Mon, 19 Sep 2022 18:45:48 -0400 Subject: [PATCH] Fix compilation in Xcode 14.1 Fixes #52. --- Sources/URLRouting/Body.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }