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

This commit is contained in:
Felix Rabe 2019-07-07 22:13:17 +02:00 committed by Hal Gentz
parent f874d76289
commit 53a89f28a0

View file

@ -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,
}
}
}