diff --git a/src/signature_params.rs b/src/signature_params.rs index 633dd7e..e1a4a7d 100644 --- a/src/signature_params.rs +++ b/src/signature_params.rs @@ -75,7 +75,7 @@ impl TryFrom<&str> for HttpSignatureParams { .unwrap() .split(' ') .filter(|v| !v.is_empty()) - .map(|v| HttpMessageComponentId::try_from(v)) + .map(HttpMessageComponentId::try_from) .collect::>(); anyhow::ensure!( covered_components.iter().all(|v| v.is_ok()),