From 0178f758dc731470c264eca14656c5887b2103aa Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Mon, 20 Jun 2022 06:22:25 +0200 Subject: [PATCH] fix: Make Clippy happy --- src-tauri/src/gitlab_api.rs | 2 +- src-tauri/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/gitlab_api.rs b/src-tauri/src/gitlab_api.rs index fb2703f..ae21b81 100644 --- a/src-tauri/src/gitlab_api.rs +++ b/src-tauri/src/gitlab_api.rs @@ -25,7 +25,7 @@ impl Endpoint for Runners { } fn endpoint(&self) -> std::borrow::Cow<'static, str> { - format!("runners").into() + "runners".into() } } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 44e1343..dfa90d5 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -5,7 +5,7 @@ use std::sync::Mutex; -use gitlab::{api::{Query, AsyncQuery, projects::jobs::RetryJob}, Runner, Gitlab, AsyncGitlab}; +use gitlab::{api::{AsyncQuery, projects::jobs::RetryJob}, Runner, AsyncGitlab}; use gitlab_api::Job; pub mod gitlab_api;