chore(core/bolt): remove unneeded `use` statements
What changed, and why it matters
This commit simply removes two unused Rust import statements (called `use` statements). It does not change any actual code behavior, logic, or security properties of the Trezor firmware.
No action needed. This is a routine code-cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit deletes two unused use imports: crate::strutil::TString in select_menu.rs and crate::ui::layout::menu_item_intent::MenuItemIntent in ui_firmware.rs. These are compiler-level cleanups with no functional diff beyond eliminating unused imports. There is no security-relevant change.
Changed components
core/embed/rust/src/ui/layout_bolt/component/select_menu.rscore/embed/rust/src/ui/layout_bolt/ui_firmware.rsInspect captured patch +0 / −2
### core/embed/rust/src/ui/layout_bolt/component/select_menu.rs
@@ -2,7 +2,6 @@ use heapless::Vec;
use super::{theme, Button, ButtonMsg};
use crate::micropython::Error;
-use crate::strutil::TString;
use crate::ui::component::{Component, Event, EventCtx};
use crate::ui::geometry::{Insets, Rect};
use crate::ui::layout::menu_item_intent::MenuItemIntent;
### core/embed/rust/src/ui/layout_bolt/ui_firmware.rs
@@ -28,7 +28,6 @@ use crate::ui::component::text::TextStyle;
use crate::ui::component::{
Border, ComponentExt, Empty, FormattedText, Jpeg, Label, Never, Timeout,
};
-use crate::ui::layout::menu_item_intent::MenuItemIntent;
use crate::ui::layout::obj::{LayoutMaybeTrace, LayoutObj, RootComponent};
use crate::ui::layout::util::{ConfirmValueParams, PropsList, RecoveryType};
use crate::ui::notification::Notification;Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.