]> Untitled Git - bdk/commitdiff
[bdk_chain_redesign] `mut_index` should be `index_mut`
author志宇 <hello@evanlinjin.me>
Mon, 27 Mar 2023 12:56:42 +0000 (20:56 +0800)
committer志宇 <hello@evanlinjin.me>
Mon, 27 Mar 2023 12:56:42 +0000 (20:56 +0800)
crates/chain/src/indexed_tx_graph.rs

index 5361437e1471f01c4995d036caae33c6697bea98..91ecd571908b4d6c842d610f0bd01bd3d6319bf5 100644 (file)
@@ -73,7 +73,7 @@ impl<A: BlockAnchor, I: TxIndex> IndexedTxGraph<A, I> {
     }
 
     /// 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
     }