diff --git a/gst-plugin/src/miniobject.rs b/gst-plugin/src/miniobject.rs index d1635360..c98d1da0 100644 --- a/gst-plugin/src/miniobject.rs +++ b/gst-plugin/src/miniobject.rs @@ -156,14 +156,3 @@ pub unsafe trait MiniObject } } -impl<'a, T: MiniObject> From<&'a T> for GstRc { - fn from(f: &'a T) -> GstRc { - unsafe { GstRc::from_unowned_ptr(f.as_ptr()) } - } -} - -impl<'a, T: MiniObject> From<&'a mut T> for GstRc { - fn from(f: &'a mut T) -> GstRc { - unsafe { GstRc::from_unowned_ptr(f.as_ptr()) } - } -}