mirror of
https://github.com/apple/swift-collections
synced 2026-11-22 04:20:40 +00:00
Merge pull request #649 from apple/fb-unique-box-borrow
Guard `UniqueBox.borrow` correctly
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user