From 43966fc02a8eb763abe20d50be88d47f6fb44e16 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 21 Sep 2024 21:16:52 -0500 Subject: [PATCH] Remove unnecessary allow(unused_variables) --- bobashare-web/src/views/display.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bobashare-web/src/views/display.rs b/bobashare-web/src/views/display.rs index f4b854e7..bea23708 100644 --- a/bobashare-web/src/views/display.rs +++ b/bobashare-web/src/views/display.rs @@ -256,8 +256,7 @@ pub async fn display( }) } -#[allow(unused_variables)] -fn string_is_true<'de, D>(de: D) -> Result +fn string_is_true<'de, D>(_: D) -> Result where D: Deserializer<'de>, {