mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-12 06:06:07 +00:00
chore(core/rust/ui): avoid nested Child as LayoutObj root
[no changelog]
This commit is contained in:
parent
3d645d609a
commit
e778ec4af4
@ -32,15 +32,6 @@ pub trait ComponentMsgObj: Component {
|
||||
fn msg_try_into_obj(&self, msg: Self::Msg) -> Result<Obj, Error>;
|
||||
}
|
||||
|
||||
impl<T> ComponentMsgObj for Child<T>
|
||||
where
|
||||
T: ComponentMsgObj,
|
||||
{
|
||||
fn msg_try_into_obj(&self, msg: Self::Msg) -> Result<Obj, Error> {
|
||||
self.inner().msg_try_into_obj(msg)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "ui_debug")]
|
||||
mod maybe_trace {
|
||||
pub trait MaybeTrace: crate::trace::Trace {}
|
||||
|
Loading…
Reference in New Issue
Block a user