Cargo fmt

This commit is contained in:
losfair 2019-04-28 12:54:45 +08:00
parent cf83a9785f
commit 480308c62c

View File

@ -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);