From 1f596d414d4d94474307e14935bd6d51786680aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 2 May 2018 13:48:03 +0300 Subject: [PATCH] Use unsafe impl for the Instance trait impl --- gst-plugin/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-plugin/src/object.rs b/gst-plugin/src/object.rs index 7775dee6..20d9e061 100644 --- a/gst-plugin/src/object.rs +++ b/gst-plugin/src/object.rs @@ -15,7 +15,7 @@ pub trait PanicPoison { fn panicked(&self) -> &AtomicBool; } -impl Instance for ElementInstanceStruct { +unsafe impl Instance for ElementInstanceStruct { fn parent(&self) -> &T::GlibType { &self._parent }