Skip to content

Commit

Permalink
cluster executors are FnOnce
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Apr 16, 2021
1 parent e193250 commit 56fba0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neard/tests/node_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl NodeCluster {
fn exec<F, R>(self, f: F)
where
R: future::Future<Output = ()> + 'static,
F: Fn(
F: FnOnce(
near_chain_configs::Genesis,
Vec<String>,
Vec<(
Expand Down Expand Up @@ -88,7 +88,7 @@ impl NodeCluster {
pub fn exec_until_stop<F, R>(self, f: F)
where
R: future::Future<Output = ()> + 'static,
F: Fn(
F: FnOnce(
near_chain_configs::Genesis,
Vec<String>,
Vec<(
Expand Down

0 comments on commit 56fba0d

Please sign in to comment.