From 698d8194a4beedc1a0ad54b209a6299d8de13b4c Mon Sep 17 00:00:00 2001 From: h1alexbel Date: Wed, 10 Jul 2024 19:19:43 +0300 Subject: [PATCH] feat(#17): allow dead code --- server/src/xml/storage.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/xml/storage.rs b/server/src/xml/storage.rs index 785d0d55..9f8c3e9f 100644 --- a/server/src/xml/storage.rs +++ b/server/src/xml/storage.rs @@ -26,6 +26,7 @@ use anyhow::Result; use log::info; #[derive(Default)] +#[allow(dead_code)] pub struct Storage { pub(crate) path: String, } @@ -60,6 +61,7 @@ impl Storage { // function should be thread-safe, as it intended to be used concurrently. // Don't forget to create a unit tests related to #xml function. impl Storage { + #[allow(dead_code)] pub fn xml() -> Result<()> { Ok(()) }