From 58047f90f79b129e445cbf856a23b3a5518c0b12 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Tue, 4 Mar 2025 22:48:32 +0800 Subject: chore: Update to rust-2024 version Signed-off-by: KunoiSayami --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 5b10e01..268cbe5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -168,7 +168,7 @@ async fn cmd_authenticate_cookie(matches: &ArgMatches, cfg: Config) -> Result>(); - conn.sadd(&redis_key, users).await?; + let _: () = conn.sadd(&redis_key, users).await?; } } @@ -841,7 +841,7 @@ fn main() -> Result<()> { return Err(anyhow::Error::msg(format!( "Got error while append to {}: {:?}", &logfile_path, e - ))) + ))); } }; -- cgit v1.3.1