Skip to content

Commit

Permalink
Ignore unwrap() clippy warnings in deprecated/testing-only code
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Aug 19, 2023
1 parent 53f0858 commit 434f453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub async fn prover_update_with_mediator(
Ok(sm.get_state())
}

#[allow(clippy::unwrap_used)]
pub fn prover_find_message_to_handle(
sm: &Prover,
messages: HashMap<String, AriesMessage>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub async fn verifier_update_with_mediator(
Ok(sm.get_state())
}

#[allow(clippy::unwrap_used)]
pub fn verifier_find_message_to_handle(
sm: &Verifier,
messages: HashMap<String, AriesMessage>,
Expand Down

0 comments on commit 434f453

Please sign in to comment.