What changed, and why it matters
This commit fixes a grammar typo in two code comments/docstrings, changing 'Receive a BLE events' to 'Receive a BLE event'. It does not change any executable code, behavior, or security properties.
No security action required. This is a non-functional comment-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies only documentation strings inside Rust source and a generated Python stub. The change is purely cosmetic: ‘events’ → ‘event’ in the ble_event method docstring. No logic, interfaces, types, or security controls are altered.
Changed components
core/embed/rust/src/ui/api/firmware_micropython.rscore/mocks/generated/trezorui_api.pyiInspect captured patch +2 / −2
### core/embed/rust/src/ui/api/firmware_micropython.rs
@@ -1385,7 +1385,7 @@ pub static mp_module_trezorui_api: Module = obj_module! {
///
/// if utils.USE_BLE:
/// def ble_event(self, event: int, data: bytes) -> LayoutState | None:
- /// """Receive a BLE events."""
+ /// """Receive a BLE event."""
///
/// if utils.USE_POWER_MANAGER:
/// def pm_event(self, flags: int) -> LayoutState | None:
### core/mocks/generated/trezorui_api.pyi
@@ -39,7 +39,7 @@ class LayoutObj(Generic[T]):
"""Receive a button event `event` for button `button`."""
if utils.USE_BLE:
def ble_event(self, event: int, data: bytes) -> LayoutState | None:
- """Receive a BLE events."""
+ """Receive a BLE event."""
if utils.USE_POWER_MANAGER:
def pm_event(self, flags: int) -> LayoutState | None:
"""Receive a power management event with packed flags."""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.