Skip to content

Commit 7adf175

Browse files
committed
workflow/unlock: fix typo and reformat docstring
1 parent 8e2213b commit 7adf175

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/rust/bitbox02-rust/src/workflow/unlock.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,14 @@ async fn maybe_confirm_remaining_unlock_attempts(
103103
.await
104104
}
105105

106-
/// Prompts the user for the device password, and returns `Ok` if the
107-
/// keystore was successfully unlocked, or `Err` if the password was
108-
/// incorrect.
106+
/// Prompts the user for the device password, and returns `Ok` if the keystore was successfully
107+
/// unlocked, or `Err` if the password was incorrect.
109108
///
110109
/// If there were failed password attempts already, a warning is shown before the password is
111110
/// entered.
112111
///
113-
/// If they keystore is already unlocked, this function does not
114-
/// change the state and just checks the password.
112+
/// If the keystore is already unlocked, this function does not change the state and just checks the
113+
/// password.
115114
pub async fn unlock_keystore(
116115
hal: &mut impl crate::hal::Hal,
117116
title: &str,

0 commit comments

Comments
 (0)