Skip to content

Commit

Permalink
Fix dead code warnings for test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Nov 28, 2023
1 parent 93ad4a5 commit d044835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions zebra-state/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ pub(crate) use hidden::{
};

pub(crate) mod hidden {
#![allow(dead_code)]

use super::*;

Expand Down
1 change: 1 addition & 0 deletions zebra-state/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ pub use service::{
};

#[cfg(not(any(test, feature = "proptest-impl")))]
#[allow(unused_imports)]
pub(crate) use config::hidden::{
write_database_format_version_to_disk, write_state_database_format_version_to_disk,
};
Expand Down

0 comments on commit d044835

Please sign in to comment.