Skip to content

Commit 13839a5

Browse files
Fix incorrect trait
1 parent 133410e commit 13839a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/foundation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,13 @@ impl NSCopyingProtocol for NSDate {
408408
type Immutable = Self;
409409
}
410410
impl ValidObjCGeneric for NSDate {}
411+
impl IsKindOf<NSObject> for NSDate {}
411412

412413
impl From<NSDate> for NSObject {
413414
fn from(obj: NSDate) -> Self {
414415
unsafe { Self::from_owned_unchecked(obj.ptr) }
415416
}
416417
}
417-
impl IsKindOf<NSDate> for NSString {}
418418

419419
impl std::ops::Sub for &NSDate {
420420
type Output = NSTimeInterval;

0 commit comments

Comments
 (0)