Skip to content

Commit 3788e2e

Browse files
committed
Work around compiler crash
1 parent 0f24a76 commit 3788e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Overlays/_Testing_Foundation/Attachments/Test.Attachable+Encodable&NSSecureCoding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public import Foundation
1616
extension Test.Attachable where Self: Encodable & NSSecureCoding {
1717
@_documentation(visibility: private)
1818
public func withUnsafeBufferPointer<R>(for attachment: borrowing Test.Attachment, _ body: (UnsafeRawBufferPointer) throws -> R) throws -> R {
19-
func open(_ value: borrowing some Encodable & Test.Attachable) throws -> R {
19+
func open(_ value: some Encodable & Test.Attachable) throws -> R {
2020
return try value.withUnsafeBufferPointer(for: attachment, body)
2121
}
2222
return try open(self)

0 commit comments

Comments
 (0)