Skip to content

Commit c398ac1

Browse files
committed
chore: fmt
1 parent 2105dbd commit c398ac1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/runtime.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -788,12 +788,12 @@ impl<UserMacroTask> Runtime<UserMacroTask> {
788788
// This handles the case where a task completed so fast that the counter
789789
// was already decremented but the message is still in the channel
790790
let has_macro_task = self.try_handle_macro_task();
791-
791+
792792
// Only exit if there are no pending tasks AND no message was processed
793793
if !has_macro_task && !self.host_hooks.any_pending_macro_tasks() {
794794
break;
795795
}
796-
796+
797797
// If we saw pending tasks but got no message, block waiting for one
798798
if !has_macro_task && self.host_hooks.any_pending_macro_tasks() {
799799
self.handle_macro_task();
@@ -859,7 +859,7 @@ impl<UserMacroTask> Runtime<UserMacroTask> {
859859
);
860860
true
861861
}
862-
_ => false
862+
_ => false,
863863
}
864864
}
865865
}

0 commit comments

Comments
 (0)