From 6f69abe973236616f0beb8ada1716d6d3cf98490 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Fri, 8 Mar 2024 05:26:22 +0100 Subject: [PATCH] Allow dead code for hex_string, since its not used for now --- server/src/util/util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/util/util.rs b/server/src/util/util.rs index 62754a1..14f16de 100644 --- a/server/src/util/util.rs +++ b/server/src/util/util.rs @@ -1,6 +1,7 @@ use rand::Rng; // This will do for now +#[allow(dead_code)] pub fn hex_string(length: usize) -> String { let mut rng = rand::thread_rng(); let mut bytes = vec![0u8; length];