Per PR discussion, remove platform specifiers and discontinue use of some rather than forcing other packages to change their manifests.

This commit is contained in:
Gwynne Raskind committed 2023-12-02 00:50:23 -06:00
1 parent f98bb56230
commit 28a5f3aaeb
6 files changed
+28 -34

No files matched your search

@@ -65,7 +65,7 @@ extension HTTPRequest {
}
extension URL {
fileprivate init?(scheme: some Collection<UInt8>, authority: some Collection<UInt8>, path: some Collection<UInt8>) {
fileprivate init?<C1: Collection, C2: Collection, C3: Collection>(scheme: C1, authority: C2, path: C3) where C1.Element == UInt8, C2.Element == UInt8, C3.Element == UInt8 {
var buffer = [UInt8]()
buffer.reserveCapacity(scheme.count + 3 + authority.count + path.count)
buffer.append(contentsOf: scheme)