Skip to content

Commit

Permalink
fix incorrect syntax/formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Toby Lawrence <[email protected]>
  • Loading branch information
tobz committed Jul 20, 2021
1 parent 9630583 commit b809ec6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ impl Pipeline {
// We batch the updates to "events out" for efficiency, and do it here because
// it gives us a chance to allow the natural batching of `Pipeline` to kick in.
if self.events_outstanding > 0 {
emit!{EventOut { count: self.events_outstanding }};
emit!(EventOut {
count: self.events_outstanding
});
self.events_outstanding = 0;
}

Expand Down

0 comments on commit b809ec6

Please sign in to comment.