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 9f111ec..913c8a0 100644 --- a/src/serverapi/github.rs +++ b/src/serverapi/github.rs @@ -21,7 +21,7 @@ impl Github { #[async_trait] impl ServerApi for Github { 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)