From 80e8a0257ccdd639e31f709954ceca6b690fdc67 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Tue, 20 Sep 2022 12:43:35 -0400 Subject: [PATCH] Fix compilation in Xcode 14.1 (#53) 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) }