From d195147f35d0f2a6d0d8a07cecd0ae59e6abab14 Mon Sep 17 00:00:00 2001 From: DenebTM Date: Sat, 10 Feb 2024 12:56:35 +0100 Subject: [PATCH] make Authenticator non-generic --- src/auth.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/auth.rs b/src/auth.rs index eeec448..a04e7a6 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -4,16 +4,16 @@ use tokio::sync::Mutex; use tracing::instrument; use crate::{ - db::{Database, SqliteDatabase}, + db::{/* Database, */ SqliteDatabase}, secrets::{Password, UserToken}, }; #[derive(Debug)] -pub struct Authenticator { - db: Arc>, +pub struct Authenticator { + db: Arc>, } -impl Authenticator { +impl Authenticator { pub fn new(db: Arc>) -> Self { Self { db } }