From 7bd4d770fff94665017262a111e047130ea2d2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 8 Oct 2022 22:12:47 +0300 Subject: [PATCH] gstreamer: Remove unnecessary trait bounds --- gstreamer/src/subclass/clock.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/gstreamer/src/subclass/clock.rs b/gstreamer/src/subclass/clock.rs index 84678b22b..eca5d4ac3 100644 --- a/gstreamer/src/subclass/clock.rs +++ b/gstreamer/src/subclass/clock.rs @@ -56,10 +56,7 @@ pub trait ClockImplExt: ObjectSubclass { fn parent_unschedule(&self, id: &ClockId); - fn wake_id(&self, id: &ClockId) - where - Self: ObjectSubclass, - ::Type: IsA; + fn wake_id(&self, id: &ClockId); } impl ClockImplExt for T { @@ -170,11 +167,7 @@ impl ClockImplExt for T { } } - fn wake_id(&self, id: &ClockId) - where - Self: ObjectSubclass, - ::Type: IsA, - { + fn wake_id(&self, id: &ClockId) { let clock = self.instance(); let clock = unsafe { clock.unsafe_cast_ref::() };