Skip to content

Commit

Permalink
feat(#17): allow dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 10, 2024
1 parent 2ee37bf commit 698d819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/xml/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use anyhow::Result;
use log::info;

#[derive(Default)]
#[allow(dead_code)]
pub struct Storage {
pub(crate) path: String,
}
Expand Down Expand Up @@ -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(())

Check warning on line 66 in server/src/xml/storage.rs

View check run for this annotation

Codecov / codecov/patch

server/src/xml/storage.rs#L66

Added line #L66 was not covered by tests
}
Expand Down

0 comments on commit 698d819

Please sign in to comment.