Skip to content

Commit 1583e7c

Browse files
committed
clippy: remove a useless Ok(expr?) wrapping
1 parent 97565a3 commit 1583e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_client/src/reqwest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub async fn post_graphql<Q: GraphQLQuery, U: reqwest::IntoUrl>(
1313
let body = Q::build_query(variables);
1414
let reqwest_response = client.post(url).json(&body).send().await?;
1515

16-
Ok(reqwest_response.json().await?)
16+
reqwest_response.json().await
1717
}
1818

1919
/// Use the provided reqwest::Client to post a GraphQL request.

0 commit comments

Comments
 (0)