From 08012f058aac583fcf9f72c2056463596b565f57 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 21 Jan 2020 18:24:03 -0500 Subject: [PATCH] cargo fmt --- zebrad/src/commands/connect.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zebrad/src/commands/connect.rs b/zebrad/src/commands/connect.rs index 038f6011c..f80fdb381 100644 --- a/zebrad/src/commands/connect.rs +++ b/zebrad/src/commands/connect.rs @@ -49,9 +49,11 @@ impl ConnectCmd { use tower::{buffer::Buffer, service_fn, Service, ServiceExt}; let node = Buffer::new( - service_fn(|req| async move { - info!(?req); - Ok::(Response::Ok) + service_fn(|req| { + async move { + info!(?req); + Ok::(Response::Ok) + } }), 1, );