rust: apply clippy suggestions from 1.60

This commit is contained in:
Dirkjan Ochtman 2022-04-07 16:43:13 +02:00 committed by Dirkjan Ochtman
parent faa660a6d1
commit 8433cd143f
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ impl AccountInner {
) -> Result<T, Error> {
let rsp = self.post(None::<&Empty>, nonce.take(), url).await?;
*nonce = nonce_from_response(&rsp);
Ok(Problem::check(rsp).await?)
Problem::check(rsp).await
}
async fn post(