From: 志宇 Date: Mon, 6 May 2024 10:04:34 +0000 (+0800) Subject: chore(chain): move `use` in `indexed_tx_graph.rs` so clippy is happy X-Git-Tag: v1.0.0-alpha.11~2^2~3 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CommandStringError.html?a=commitdiff_plain;h=6c8748124fd40e0fee37f78ca30457441b13fbcb;p=bdk chore(chain): move `use` in `indexed_tx_graph.rs` so clippy is happy --- diff --git a/crates/chain/src/indexed_tx_graph.rs b/crates/chain/src/indexed_tx_graph.rs index cef0bbf8..e5e1f753 100644 --- a/crates/chain/src/indexed_tx_graph.rs +++ b/crates/chain/src/indexed_tx_graph.rs @@ -4,7 +4,6 @@ use alloc::vec::Vec; use bitcoin::{Block, OutPoint, Transaction, TxOut, Txid}; use crate::{ - keychain, tx_graph::{self, TxGraph}, Anchor, AnchorFromBlockPosition, Append, BlockId, }; @@ -321,8 +320,8 @@ impl From> for ChangeSet { } #[cfg(feature = "miniscript")] -impl From> for ChangeSet> { - fn from(indexer: keychain::ChangeSet) -> Self { +impl From> for ChangeSet> { + fn from(indexer: crate::keychain::ChangeSet) -> Self { Self { graph: Default::default(), indexer,