mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Cargo fmt
This commit is contained in:
parent
cf83a9785f
commit
480308c62c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user