chore(core): add a missing space in `ui/layout/obj.rs`
What changed, and why it matters
This commit is a purely cosmetic code cleanup: it adds missing spaces before arrow symbols in two lines of Rust source code. There is no functional change, no bug fix, and no security relevance.
No action needed; this is a non-security formatting change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies only whitespace in core/embed/rust/src/ui/layout/obj.rs, inserting a single space before the => token in two match arms (ble_event and pm_event). The Rust compiler treats => and => identically, so behavior is unchanged. No logic, API, or binary output is affected.
Changed components
core/embed/rust/src/ui/layout/obj.rsInspect captured patch +2 / −2
diff --git a/core/embed/rust/src/ui/layout/obj.rs b/core/embed/rust/src/ui/layout/obj.rs
index fbbca4fae..3c3e05e4a 100644
--- a/core/embed/rust/src/ui/layout/obj.rs
+++ b/core/embed/rust/src/ui/layout/obj.rs
@@ -408,8 +408,8 @@ impl LayoutObj {
Qstr::MP_QSTR_button_event => obj_fn_var!(3, 3, ui_layout_button_event).as_obj(),
Qstr::MP_QSTR_progress_event => obj_fn_var!(3, 3, ui_layout_progress_event).as_obj(),
Qstr::MP_QSTR_usb_event => obj_fn_var!(2, 2, ui_layout_usb_event).as_obj(),
- Qstr::MP_QSTR_ble_event=> obj_fn_var!(3, 3, ui_layout_ble_event).as_obj(),
- Qstr::MP_QSTR_pm_event=> obj_fn_2!(ui_layout_pm_event).as_obj(),
+ Qstr::MP_QSTR_ble_event => obj_fn_var!(3, 3, ui_layout_ble_event).as_obj(),
+ Qstr::MP_QSTR_pm_event => obj_fn_2!(ui_layout_pm_event).as_obj(),
Qstr::MP_QSTR_timer => obj_fn_2!(ui_layout_timer).as_obj(),
Qstr::MP_QSTR_paint => obj_fn_1!(ui_layout_paint).as_obj(),
Qstr::MP_QSTR_request_complete_repaint => obj_fn_1!(ui_layout_request_complete_repaint).as_obj(),
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.