From 33dfcd18252dd8a4845cd58b93bd177ab0dffde9 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 1 Jan 2023 20:47:59 -0500 Subject: Fix clippy warnings --- server/tests/common/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests') diff --git a/server/tests/common/mod.rs b/server/tests/common/mod.rs index e907306..f88a970 100644 --- a/server/tests/common/mod.rs +++ b/server/tests/common/mod.rs @@ -12,10 +12,12 @@ pub fn test_setup() { .try_init(); } +#[allow(dead_code)] // Only used in ignored tests. pub struct TestDb { db_pool: PgPool, } +#[allow(dead_code)] // Only used in ignored tests. impl TestDb { pub async fn new() -> Self { test_setup(); -- cgit v1.2.3