Skip to content

Commit a10e520

Browse files
committed
Fix clippy warning when using some feature or target sets
1 parent 7910f12 commit a10e520

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

mithril-common/src/cardano_block_scanner/interface.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use anyhow::anyhow;
21
use std::path::Path;
32

43
use async_trait::async_trait;
@@ -90,7 +89,7 @@ cfg_test_tools! {
9089
all_blocks.append(&mut forward_blocks);
9190
}
9291
ChainScannedBlocks::RollBackward(_) => {
93-
return Err(anyhow!("poll_all: RollBackward not supported"));
92+
return Err(anyhow::anyhow!("poll_all: RollBackward not supported"));
9493
}
9594
};
9695
}

mithril-common/src/test_utils/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ pub use fixture_builder::{MithrilFixtureBuilder, StakeDistributionGenerationMeth
2828
pub use mithril_fixture::{MithrilFixture, SignerFixture};
2929
pub use temp_dir::*;
3030
#[cfg(test)]
31-
pub(crate) use utils::*;
31+
pub use utils::*;
3232

3333
#[cfg(test)]
34-
pub(crate) mod utils {
34+
mod utils {
3535
use std::fs::File;
3636
use std::io;
3737
use std::sync::Arc;

0 commit comments

Comments
 (0)