From 1d0e9c379b76bfeb41366a75b4f272841b993cc3 Mon Sep 17 00:00:00 2001 From: midefos Date: Sat, 18 Jan 2025 21:35:15 +0100 Subject: [PATCH] error with send + sync --- src/requester.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requester.rs b/src/requester.rs index 7f972e1..ef614f5 100644 --- a/src/requester.rs +++ b/src/requester.rs @@ -7,7 +7,7 @@ use std::error::Error; pub struct Requester; impl Requester { - pub async fn extract_body(req: Request) -> Result> + pub async fn extract_body(req: Request) -> Result> where T: DeserializeOwned, {