From b65ad29774d2a58372058d1aeafca5a423efb8d4 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 20 Sep 2022 14:39:47 +0200 Subject: Merge all crates import as `use crate::` --- src/routes/auth.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/routes/auth.rs') diff --git a/src/routes/auth.rs b/src/routes/auth.rs index 7cd16ad..0fe92fc 100644 --- a/src/routes/auth.rs +++ b/src/routes/auth.rs @@ -1,9 +1,11 @@ -use crate::errors::AppError; -use crate::models::{ - auth::{AuthBody, Claims, LoginCredentials, SignUpForm}, - user::User, +use crate::{ + errors::AppError, + models::{ + auth::{AuthBody, Claims, LoginCredentials, SignUpForm}, + user::User, + }, + routes::JsonCreate, }; -use crate::routes::JsonCreate; use axum::{routing::post, Json, Router}; /// Create routes for `/v1/auth/` namespace -- cgit v1.2.3-71-g8e6c