From 3f9e37abb40e690b2573c8d5c19f872c65d6d1f9 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 30 Jul 2024 17:50:14 +0200 Subject: [PATCH] style(core/rust): avoid unused warning --- core/embed/rust/src/ui/layout/obj.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/embed/rust/src/ui/layout/obj.rs b/core/embed/rust/src/ui/layout/obj.rs index 1b8af1ef78..eae3779905 100644 --- a/core/embed/rust/src/ui/layout/obj.rs +++ b/core/embed/rust/src/ui/layout/obj.rs @@ -4,6 +4,7 @@ use core::{ marker::PhantomData, ops::{Deref, DerefMut}, }; +#[cfg(feature = "touch")] use num_traits::{FromPrimitive, ToPrimitive}; #[cfg(feature = "button")]