workflow/unlock: fix typo and reformat docstring
What changed, and why it matters
This commit only fixes a typo in a code comment/docstring ('they keystore' → 'the keystore') and reformats the comment line wrapping. No executable code, logic, or security behavior was changed.
No security action needed; this is a non-functional documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is limited to documentation comments in src/rust/bitbox02-rust/src/workflow/unlock.rs. It corrects a grammatical typo and reflows docstring lines. There are no changes to functions, control flow, cryptography, or any runtime behavior.
Changed components
src/rust/bitbox02-rust/src/workflow/unlock.rs (documentation only)Inspect captured patch +4 / −5
diff --git a/src/rust/bitbox02-rust/src/workflow/unlock.rs b/src/rust/bitbox02-rust/src/workflow/unlock.rs
index d958afe..c9ebab8 100644
--- a/src/rust/bitbox02-rust/src/workflow/unlock.rs
+++ b/src/rust/bitbox02-rust/src/workflow/unlock.rs
@@ -103,15 +103,14 @@ async fn maybe_confirm_remaining_unlock_attempts(
.await
}
-/// Prompts the user for the device password, and returns `Ok` if the
-/// keystore was successfully unlocked, or `Err` if the password was
-/// incorrect.
+/// Prompts the user for the device password, and returns `Ok` if the keystore was successfully
+/// unlocked, or `Err` if the password was incorrect.
///
/// If there were failed password attempts already, a warning is shown before the password is
/// entered.
///
-/// If they keystore is already unlocked, this function does not
-/// change the state and just checks the password.
+/// If the keystore is already unlocked, this function does not change the state and just checks the
+/// password.
pub async fn unlock_keystore(
hal: &mut impl crate::hal::Hal,
title: &str,
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.