Skip to content

Commit 76ce0e9

Browse files
committed
Fix bool From implementations on platforms where BOOL was actually bool
1 parent fddce93 commit 76ce0e9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

objc2/src/bool.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,6 @@ impl Bool {
6464
}
6565
}
6666

67-
impl From<BOOL> for Bool {
68-
#[inline]
69-
fn from(b: BOOL) -> Bool {
70-
Bool::from_raw(b)
71-
}
72-
}
73-
74-
impl From<Bool> for BOOL {
75-
#[inline]
76-
fn from(b: Bool) -> BOOL {
77-
b.as_raw()
78-
}
79-
}
80-
8167
impl From<bool> for Bool {
8268
#[inline]
8369
fn from(b: bool) -> Bool {

0 commit comments

Comments
 (0)