Remove dead code (unused as of d5391686a) (#1022)

This commit is contained in:
Felix Rabe authored and Hal Gentz committed 2019-07-07 14:13:17 -06:00
1 parent f874d76289
commit 53a89f28a0
1 file changed
-14
@@ -1,14 +0,0 @@
use cocoa::base::{id, nil};
pub trait IntoOption: Sized {
fn into_option(self) -> Option<Self>;
}
impl IntoOption for id {
fn into_option(self) -> Option<Self> {
match self != nil {
true => Some(self),
false => None,
}
}
}