Skip to content

Commit

Permalink
Remove unnecessary allow(unused_variables)
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Sep 22, 2024
1 parent 1da2008 commit 43966fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bobashare-web/src/views/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,7 @@ pub async fn display(
})
}

#[allow(unused_variables)]
fn string_is_true<'de, D>(de: D) -> Result<bool, D::Error>
fn string_is_true<'de, D>(_: D) -> Result<bool, D::Error>
where
D: Deserializer<'de>,
{
Expand Down

0 comments on commit 43966fc

Please sign in to comment.