From 03e267f02e296a55d2603b0494cb964fe8dd1cf2 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Sat, 27 Jan 2024 23:34:23 -0500 Subject: [PATCH] Fix pedantic clippy --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index e22328c..1f5ce59 100644 --- a/src/client.rs +++ b/src/client.rs @@ -337,7 +337,7 @@ pub async fn json(path: String, quarantine: bool) -> Result { } Err(e) => { error!("Got a bad response from reddit {e} - forcing a token refresh. Status code: {status}"); - let _ = force_refresh_token().await; + let () = force_refresh_token().await; if status.is_server_error() { Err("Reddit is having issues, check if there's an outage".to_string()) } else {