From 480308c62c3cf3daf645ba83cdc4b351b199c1dd Mon Sep 17 00:00:00 2001 From: losfair Date: Sun, 28 Apr 2019 12:54:45 +0800 Subject: [PATCH] Cargo fmt --- lib/middleware-common/src/call_trace.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/middleware-common/src/call_trace.rs b/lib/middleware-common/src/call_trace.rs index 97a82354f..3f856eacd 100644 --- a/lib/middleware-common/src/call_trace.rs +++ b/lib/middleware-common/src/call_trace.rs @@ -14,11 +14,11 @@ impl FunctionMiddleware for CallTrace { sink: &mut EventSink<'a, 'b>, ) -> Result<(), Self::Error> { match op { - Event::Internal(InternalEvent::FunctionBegin(id)) => { - sink.push(Event::Internal(InternalEvent::Breakpoint(Box::new(move |_| { + Event::Internal(InternalEvent::FunctionBegin(id)) => sink.push(Event::Internal( + InternalEvent::Breakpoint(Box::new(move |_| { eprintln!("func ({})", id); - })))) - } + })), + )), _ => {} } sink.push(op);