From 4c182a06509e09ea8b28b76397106ed328c71525 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 9 Jul 2018 17:10:24 +0300 Subject: [PATCH] Fix formatting --- examples/bench_index.rs | 7 ++++++- examples/bench_parse.rs | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/bench_index.rs b/examples/bench_index.rs index 4c02459..ac0cdf2 100644 --- a/examples/bench_index.rs +++ b/examples/bench_index.rs @@ -16,7 +16,12 @@ fn run() -> Result<()> { let metrics = Metrics::new(config.monitoring_addr); metrics.start(); - let daemon = Daemon::new(&config.daemon_dir, &config.cookie, config.network_type, &metrics)?; + let daemon = Daemon::new( + &config.daemon_dir, + &config.cookie, + config.network_type, + &metrics, + )?; let fake_store = FakeStore {}; let index = Index::load(&fake_store, &daemon, &metrics)?; index.update(&fake_store, &signal)?; diff --git a/examples/bench_parse.rs b/examples/bench_parse.rs index d26aed6..f38abb3 100644 --- a/examples/bench_parse.rs +++ b/examples/bench_parse.rs @@ -18,7 +18,12 @@ fn run(config: Config) -> Result<()> { let metrics = Metrics::new(config.monitoring_addr); metrics.start(); - let daemon = Daemon::new(&config.daemon_dir, &config.cookie, config.network_type, &metrics)?; + let daemon = Daemon::new( + &config.daemon_dir, + &config.cookie, + config.network_type, + &metrics, + )?; let store = DBStore::open(Path::new("./test-db"), StoreOptions { bulk_import: true }); let parser = Parser::new(&daemon, &store, &metrics)?;