From: 志宇 Date: Mon, 27 Mar 2023 12:56:42 +0000 (+0800) Subject: [bdk_chain_redesign] `mut_index` should be `index_mut` X-Git-Tag: v1.0.0-alpha.1~19^2~40 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CommandStringError.html?a=commitdiff_plain;h=313965d8c84f5de43cafa58c7bd9250aea93b22c;p=bdk [bdk_chain_redesign] `mut_index` should be `index_mut` --- diff --git a/crates/chain/src/indexed_tx_graph.rs b/crates/chain/src/indexed_tx_graph.rs index 5361437e..91ecd571 100644 --- a/crates/chain/src/indexed_tx_graph.rs +++ b/crates/chain/src/indexed_tx_graph.rs @@ -73,7 +73,7 @@ impl IndexedTxGraph { } /// Get a mutable reference to the internal transaction index. - pub fn mut_index(&mut self) -> &mut I { + pub fn index_mut(&mut self) -> &mut I { &mut self.index }