Formatted with clippy
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-07-18 13:13:54 +02:00
parent 62ba975afd
commit 20950ebd5c
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ use axum::{
}; };
use oauth2::{ use oauth2::{
basic::BasicClient, reqwest::async_http_client, AuthUrl, AuthorizationCode, ClientId, basic::BasicClient, reqwest::async_http_client, AuthUrl, AuthorizationCode, ClientId,
ClientSecret, CsrfToken, RedirectUrl, Scope, TokenResponse, TokenUrl, ClientSecret, CsrfToken, RedirectUrl, TokenResponse, TokenUrl,
}; };
use reqwest::header::SET_COOKIE; use reqwest::header::SET_COOKIE;
use serde::Deserialize; use serde::Deserialize;

View File

@ -79,7 +79,7 @@ impl Server {
let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
return Server { app, addr }; Server { app, addr }
} }
pub async fn start(self) -> anyhow::Result<()> { pub async fn start(self) -> anyhow::Result<()> {

View File

@ -48,8 +48,8 @@ impl InMemoryDownloadService {
id.clone(), id.clone(),
( (
Arc::new(Mutex::new(d.clone())), Arc::new(Mutex::new(d.clone())),
shared_tx.clone(), shared_tx,
rx.clone(), rx,
), ),
); );