From 9c24eb5566451718b7414dcff6549b28e606c176 Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 13 Sep 2019 18:07:44 -0500 Subject: [PATCH] Alter type specification in client example --- http-signature-normalization-actix/examples/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http-signature-normalization-actix/examples/client.rs b/http-signature-normalization-actix/examples/client.rs index 3e4dd0b..c90429f 100644 --- a/http-signature-normalization-actix/examples/client.rs +++ b/http-signature-normalization-actix/examples/client.rs @@ -14,12 +14,12 @@ fn main() { Client::default() .post("http://127.0.0.1:8010/") .header("User-Agent", "Actix Web") - .authorization_signature_with_digest::<_, MyError, _, _, _>( + .authorization_signature_with_digest( &config, "my-key-id", &mut digest, "Hewwo-owo", - |s| Ok(base64::encode(s)), + |s| Ok(base64::encode(s)) as Result<_, MyError>, ) .unwrap() .send()