From 022156582d9c9910f280b25f260591413201ee3f Mon Sep 17 00:00:00 2001 From: MedzikUser Date: Mon, 18 Apr 2022 14:17:30 +0200 Subject: [PATCH] fix: clippy warnings --- server/src/auth/login.rs | 2 +- types/src/auth/auth/mod.rs | 1 - types/src/auth/{auth => }/login.rs | 0 types/src/auth/mod.rs | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 types/src/auth/auth/mod.rs rename types/src/auth/{auth => }/login.rs (100%) diff --git a/server/src/auth/login.rs b/server/src/auth/login.rs index a35b295..3fab5af 100644 --- a/server/src/auth/login.rs +++ b/server/src/auth/login.rs @@ -1,6 +1,6 @@ use axum::Json; use homedisk_types::{ - auth::auth::login::{Request, Response}, + auth::login::{Request, Response}, errors::{AuthError, ServerError}, }; diff --git a/types/src/auth/auth/mod.rs b/types/src/auth/auth/mod.rs deleted file mode 100644 index 320cbbb..0000000 --- a/types/src/auth/auth/mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod login; diff --git a/types/src/auth/auth/login.rs b/types/src/auth/login.rs similarity index 100% rename from types/src/auth/auth/login.rs rename to types/src/auth/login.rs diff --git a/types/src/auth/mod.rs b/types/src/auth/mod.rs index 0e4a05d..320cbbb 100644 --- a/types/src/auth/mod.rs +++ b/types/src/auth/mod.rs @@ -1 +1 @@ -pub mod auth; +pub mod login;