diff --git a/src/platform_impl/macos/util/into_option.rs b/src/platform_impl/macos/util/into_option.rs deleted file mode 100644 index 4fd32e73..00000000 --- a/src/platform_impl/macos/util/into_option.rs +++ /dev/null @@ -1,14 +0,0 @@ -use cocoa::base::{id, nil}; - -pub trait IntoOption: Sized { - fn into_option(self) -> Option; -} - -impl IntoOption for id { - fn into_option(self) -> Option { - match self != nil { - true => Some(self), - false => None, - } - } -}