Merge pull request #649 from apple/fb-unique-box-borrow

Guard `UniqueBox.borrow` correctly
This commit is contained in:
Karoy Lorentey authored and GitHub committed 2026-05-11 18:36:53 -07:00
commit 7b371ce850
1 file changed
+1 -1
@@ -198,7 +198,7 @@ extension UniqueBox where Value: ~Copyable {
}
#endif
#if UnstableContainersPreview
#if compiler(>=6.3) && UnstableContainersPreview
/// Return a borrowing reference to the contents of this box.
@available(SwiftStdlib 5.0, *)
@_alwaysEmitIntoClient