From b6243903bca1cb61aca637d0952c1cad0053d130 Mon Sep 17 00:00:00 2001 From: David Mulder Date: Thu, 31 Oct 2024 10:51:19 -0600 Subject: [PATCH] Resolve manual_inspect clippy warning Signed-off-by: David Mulder --- src/soft.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soft.rs b/src/soft.rs index 4b08048..96b9fae 100644 --- a/src/soft.rs +++ b/src/soft.rs @@ -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| {