Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve phrasing of the comment
Co-authored-by: Alice Ryhl <[email protected]>
  • Loading branch information
BraulioVM and Darksonn authored Jan 27, 2022
commit 512152b7efe88f2be40950ba7900bccc34ca1ba1
4 changes: 2 additions & 2 deletions tokio/src/runtime/task/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ where
// by a Waker on any arbitrary thread.
//
// Panics are delivered to the user via the `JoinHandle`. Given that
// they are dropping it, we assume they are not interested in it,
// and swallow it.
// they are dropping the `JoinHandle`, we assume they are not
// interested in the panic and swallow it.
let _ = panic::catch_unwind(panic::AssertUnwindSafe(|| {
self.core().stage.drop_future_or_output();
}));
Expand Down