diff --git a/core/embed/rust/src/ui/model_mercury/component/page.rs b/core/embed/rust/src/ui/model_mercury/component/page.rs index 9e501f549..c2e82caf9 100644 --- a/core/embed/rust/src/ui/model_mercury/component/page.rs +++ b/core/embed/rust/src/ui/model_mercury/component/page.rs @@ -522,7 +522,6 @@ mod tests { use serde_json; use crate::{ - strutil::SkipPrefix, trace::tests::trace, ui::{ component::text::paragraphs::{Paragraph, Paragraphs}, diff --git a/core/embed/rust/src/ui/model_mercury/layout.rs b/core/embed/rust/src/ui/model_mercury/layout.rs index 85242c04f..3f79805bd 100644 --- a/core/embed/rust/src/ui/model_mercury/layout.rs +++ b/core/embed/rust/src/ui/model_mercury/layout.rs @@ -2021,8 +2021,11 @@ mod tests { #[test] fn trace_example_layout() { - let buttons = - Button::cancel_confirm(Button::with_text("Left"), Button::with_text("Right"), false); + let buttons = Button::cancel_confirm( + Button::with_text("Left".into()), + Button::with_text("Right".into()), + false, + ); let ops = OpTextLayout::new(theme::TEXT_NORMAL) .text_normal("Testing text layout, with some text, and some more text. And ")