Skip to content

Commit b864a74

Browse files
committed
Rebase master; move this to use NSSet, not AnyObject.
1 parent 4dd8bcc commit b864a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Darwin/Foundation/NSSet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extension Set {
1717
///
1818
/// The provided `NSSet` will be copied to ensure that the copy can
1919
/// not be mutated by other code.
20-
fileprivate init(_cocoaSet: __shared AnyObject) {
20+
fileprivate init(_cocoaSet: __shared NSSet) {
2121
assert(_isBridgedVerbatimToObjectiveC(Element.self),
2222
"Set can be backed by NSSet _variantStorage only when the member type can be bridged verbatim to Objective-C")
2323
// FIXME: We would like to call CFSetCreateCopy() to avoid doing an

0 commit comments

Comments
 (0)