Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius committed Aug 31, 2024
1 parent d363732 commit b528ad4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ where
}

/// Get the PIN using the walker binary
///
/// # Errors
/// Errors
pub fn walker_get_pin(_state: &State) -> std::result::Result<String, GetPinError> {
std::process::Command::new("walker")
.arg("--password")
Expand All @@ -200,6 +203,9 @@ pub fn walker_get_pin(_state: &State) -> std::result::Result<String, GetPinError
}

/// Listen for Assuan requests and respond to them
///
/// # Errors
/// Errors
pub fn listen<F>(input: impl BufRead, output: &mut impl Write, get_pin: F) -> Result<()>
where
F: Fn(&State) -> std::result::Result<String, GetPinError> + Copy,
Expand Down

0 comments on commit b528ad4

Please sign in to comment.