diff --git a/src/lib.rs b/src/lib.rs index 7370b02..f631c68 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -411,7 +411,7 @@ impl GrammalecteClient { let mut params = HashMap::new(); params.insert("token", token); - Ok(reqwest::Client::new() + reqwest::Client::new() .post(&url) .form(¶ms) .send() @@ -419,7 +419,7 @@ impl GrammalecteClient { .map_err(Error::RequestSendSuggest)? .json() .await - .map_err(Error::SuggestDeserialize)?) + .map_err(Error::SuggestDeserialize) } }