From e76775233812120c45bef1963ca6735b5547ad6c Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 26 Apr 2024 06:57:17 +0000 Subject: [PATCH] automatic cargo CI changes --- src/error.rs | 2 +- src/serverapi/github.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 6f80b38..b67346b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -35,7 +35,7 @@ pub enum ServerApiError { #[error(transparent)] ForgejoApiError(#[from] forgejo_api::ForgejoError), #[error(transparent)] - GithubApiError(#[from] octocrab::Error) + GithubApiError(#[from] octocrab::Error), } #[derive(Error, Debug)] diff --git a/src/serverapi/github.rs b/src/serverapi/github.rs index 596f1c8..429dbcb 100644 --- a/src/serverapi/github.rs +++ b/src/serverapi/github.rs @@ -24,7 +24,7 @@ impl ServerApi for Github { Ok(()) } async fn push_release(&mut self, rc: ReleaseContext) -> Result<()> { - let response = octocrab::instance() + let _response = octocrab::instance() .repos(rc.username, rc.repository) .releases() .create(&rc.tag)