November 2022 - Rust Nightly Update (#144)

* Update nightly

* Have the latest nightly clippy pass

Co-authored-by: GitHub Actions <>
Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
This commit is contained in:
github-actions[bot]
2022-11-01 00:03:36 -05:00
committed by GitHub
parent 5df74ac9e2
commit 8e53522780
5 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ impl Rpc {
params: Option<Params>,
) -> Result<Response, RpcError> {
let client = reqwest::Client::new();
let mut builder = client.post(&(self.0.clone() + "/" + method));
let mut builder = client.post(self.0.clone() + "/" + method);
if let Some(params) = params.as_ref() {
builder = builder.json(params);
}
@@ -104,7 +104,7 @@ impl Rpc {
params: Vec<u8>,
) -> Result<Response, RpcError> {
let client = reqwest::Client::new();
let builder = client.post(&(self.0.clone() + "/" + method)).body(params);
let builder = client.post(self.0.clone() + "/" + method).body(params);
self.call_tail(method, builder.header("Content-Type", "application/octet-stream")).await
}