Skip to content

Commit d10cbe7

Browse files
committed
make ci happy
1 parent 54bd206 commit d10cbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/runtime/task/harness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ fn panic_to_error<S: Schedule>(
535535
panic: Box<dyn Any + Send + 'static>,
536536
) -> JoinError {
537537
// if task has a scheduler, then use it, otherwise use scheduer in the context of current thread
538-
if let Some(scheduler) = scheduler{
538+
if let Some(scheduler) = scheduler {
539539
scheduler.unhandled_panic();
540540
}
541541
JoinError::panic(task_id, panic)

0 commit comments

Comments
 (0)