rust: apply clippy suggestions from 1.60
This commit is contained in:
parent
faa660a6d1
commit
8433cd143f
|
@ -228,7 +228,7 @@ impl AccountInner {
|
||||||
) -> Result<T, Error> {
|
) -> Result<T, Error> {
|
||||||
let rsp = self.post(None::<&Empty>, nonce.take(), url).await?;
|
let rsp = self.post(None::<&Empty>, nonce.take(), url).await?;
|
||||||
*nonce = nonce_from_response(&rsp);
|
*nonce = nonce_from_response(&rsp);
|
||||||
Ok(Problem::check(rsp).await?)
|
Problem::check(rsp).await
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn post(
|
async fn post(
|
||||||
|
|
Loading…
Reference in New Issue