From 17f2d05baa2de90d3979e6e81cc68c9be088907b Mon Sep 17 00:00:00 2001 From: Lukas Bielesch Date: Wed, 21 May 2025 13:15:22 +0200 Subject: [PATCH] fix(core): clippy warning [no changelog] --- .../ui/layout_eckhart/component_msg_obj.rs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/core/embed/rust/src/ui/layout_eckhart/component_msg_obj.rs b/core/embed/rust/src/ui/layout_eckhart/component_msg_obj.rs index ffbaa304f6..dd54f124e0 100644 --- a/core/embed/rust/src/ui/layout_eckhart/component_msg_obj.rs +++ b/core/embed/rust/src/ui/layout_eckhart/component_msg_obj.rs @@ -1,16 +1,15 @@ +#[cfg(not(feature = "clippy"))] +use crate::ui::component::{ + text::paragraphs::{ParagraphSource, Paragraphs}, + Component, Timeout, +}; use crate::{ error::Error, micropython::{obj::Obj, util::new_tuple}, - ui::{ - component::{ - text::paragraphs::{ParagraphSource, Paragraphs}, - Component, Timeout, - }, - layout::{ - device_menu_result::*, - obj::ComponentMsgObj, - result::{CANCELLED, CONFIRMED, INFO}, - }, + ui::layout::{ + device_menu_result::*, + obj::ComponentMsgObj, + result::{CANCELLED, CONFIRMED, INFO}, }, };