Address most of the cargo-clippy lints

This commit is contained in:
2025-07-02 22:51:58 -05:00
parent f068e8233e
commit 336f1453b9
4 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ pub async fn create_release_attachment(
let attachment_desc = response
.json::<Attachment>()
.await
.map_err(|e| crate::Error::from(e))?;
.map_err( crate::Error::from)?;
return Ok(attachment_desc);
} else if response.status().is_client_error() {
let mesg = crate::decode_client_error(response).await?;