Skip to content

Commit

Permalink
runtime: remove obsolete comment (#6303)
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Jan 24, 2024
1 parent ec30383 commit 4846959
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tokio/src/runtime/park.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ impl CachedParkThread {
use std::task::Context;
use std::task::Poll::Ready;

// `get_unpark()` should not return a Result
let waker = self.waker()?;
let mut cx = Context::from_waker(&waker);

Expand Down

0 comments on commit 4846959

Please sign in to comment.