diff --git a/core/embed/rust/src/ui/layout/obj.rs b/core/embed/rust/src/ui/layout/obj.rs index 62ded6b0c..e36114115 100644 --- a/core/embed/rust/src/ui/layout/obj.rs +++ b/core/embed/rust/src/ui/layout/obj.rs @@ -32,15 +32,6 @@ pub trait ComponentMsgObj: Component { fn msg_try_into_obj(&self, msg: Self::Msg) -> Result; } -impl ComponentMsgObj for Child -where - T: ComponentMsgObj, -{ - fn msg_try_into_obj(&self, msg: Self::Msg) -> Result { - self.inner().msg_try_into_obj(msg) - } -} - #[cfg(feature = "ui_debug")] mod maybe_trace { pub trait MaybeTrace: crate::trace::Trace {}