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, {