Skip to content

Commit 46606d0

Browse files
committed
fix: incorporate Boxed changeset in example_cli
Since partial move of value inside `Box` is not allowed.
1 parent 21cf793 commit 46606d0

File tree

1 file changed

+2
-0
lines changed
  • examples/example_cli/src

1 file changed

+2
-0
lines changed

examples/example_cli/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ pub fn init_or_load<CS: clap::Subcommand, S: clap::Args>(
831831
chain
832832
});
833833

834+
let changeset = *changeset;
835+
834836
let (graph, changeset) = IndexedTxGraph::from_changeset(
835837
(changeset.tx_graph, changeset.indexer).into(),
836838
|c| -> anyhow::Result<_> {

0 commit comments

Comments
 (0)