From 1646e60e65b9cc10719eca8e8558b1b4bb6fed7b Mon Sep 17 00:00:00 2001 From: Radical Date: Thu, 1 May 2025 20:15:38 +0200 Subject: [PATCH] fix: underscore unused config var in data --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 467cc29..68bf0be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ struct Args { #[derive(Clone)] struct Data { pub pool: Pool, - pub config: Config, + pub _config: Config, pub argon2: Argon2<'static>, pub start_time: SystemTime, } @@ -70,7 +70,7 @@ async fn main() -> Result<(), Error> { let data = Data { pool, - config, + _config: config, // TODO: Possibly implement "pepper" into this (thinking it could generate one if it doesnt exist and store it on disk) argon2: Argon2::default(), start_time: SystemTime::now(),