Skip to content

Commit

Permalink
Resolve manual_inspect clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: David Mulder <[email protected]>
  • Loading branch information
dmulder committed Oct 31, 2024
1 parent 43048be commit b624390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/soft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ impl Tpm for SoftTpm {
}
};

// Clippy warns that we should use `inspect` instead of `map` here, but
// this causes the build to fail because `inspect` is unstable on
// Options. Simply ignore the warning for now.
#[allow(clippy::manual_inspect)]
signer
.sign_oneshot_to_vec(input)
.map_err(|ossl_err| {
Expand Down

0 comments on commit b624390

Please sign in to comment.