@@ -64,11 +64,13 @@ pub use self::geometry::{CGFloat, NSPoint, NSRect, NSSize};
64
64
pub use self :: mutable_array:: NSMutableArray ;
65
65
pub use self :: mutable_attributed_string:: NSMutableAttributedString ;
66
66
pub use self :: mutable_data:: NSMutableData ;
67
+ pub use self :: mutable_set:: NSMutableSet ;
67
68
pub use self :: mutable_string:: NSMutableString ;
68
69
pub use self :: number:: NSNumber ;
69
70
pub use self :: object:: NSObject ;
70
71
pub use self :: process_info:: NSProcessInfo ;
71
72
pub use self :: range:: NSRange ;
73
+ pub use self :: set:: NSSet ;
72
74
pub use self :: string:: NSString ;
73
75
pub use self :: thread:: { is_main_thread, is_multi_threaded, MainThreadMarker , NSThread } ;
74
76
#[ cfg( not( macos_10_7) ) ] // Temporary
@@ -104,11 +106,13 @@ mod geometry;
104
106
mod mutable_array;
105
107
mod mutable_attributed_string;
106
108
mod mutable_data;
109
+ mod mutable_set;
107
110
mod mutable_string;
108
111
mod number;
109
112
mod object;
110
113
mod process_info;
111
114
mod range;
115
+ mod set;
112
116
mod string;
113
117
mod thread;
114
118
// Temporarily disable testing UUID on macOS 10.7 until
@@ -158,6 +162,12 @@ mod tests {
158
162
assert_auto_traits :: < NSComparisonResult > ( ) ;
159
163
assert_auto_traits :: < NSData > ( ) ;
160
164
assert_auto_traits :: < NSDictionary < NSString , NSString > > ( ) ;
165
+ assert_auto_traits :: < NSSet < NSString , Shared > > ( ) ;
166
+ assert_auto_traits :: < NSSet < NSString , Owned > > ( ) ;
167
+ assert_auto_traits :: < Id < NSSet < NSString , Shared > , Shared > > ( ) ;
168
+ assert_auto_traits :: < Id < NSSet < NSString , Owned > , Shared > > ( ) ;
169
+ assert_auto_traits :: < Id < NSSet < NSString , Shared > , Owned > > ( ) ;
170
+ assert_auto_traits :: < Id < NSSet < NSString , Owned > , Owned > > ( ) ;
161
171
// TODO: Figure out if Send + Sync is safe?
162
172
// assert_auto_traits::<NSEnumerator<NSString>>();
163
173
// assert_auto_traits::<NSFastEnumerator<NSArray<NSString, Shared>>>();
@@ -170,6 +180,7 @@ mod tests {
170
180
assert_auto_traits :: < NSMutableArray < NSString , Shared > > ( ) ;
171
181
assert_auto_traits :: < NSMutableAttributedString > ( ) ;
172
182
assert_auto_traits :: < NSMutableData > ( ) ;
183
+ assert_auto_traits :: < NSMutableSet < NSString , Shared > > ( ) ;
173
184
assert_auto_traits :: < NSMutableString > ( ) ;
174
185
assert_auto_traits :: < NSNumber > ( ) ;
175
186
// assert_auto_traits::<NSObject>(); // Intentional
0 commit comments