From 4846959e8a534cf2aff63f8613e5f69a7d2ce5f8 Mon Sep 17 00:00:00 2001 From: kim / Motoyuki Kimura Date: Thu, 25 Jan 2024 00:22:28 +0900 Subject: [PATCH] runtime: remove obsolete comment (#6303) --- tokio/src/runtime/park.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tokio/src/runtime/park.rs b/tokio/src/runtime/park.rs index 98a8fe5a3..2fa0f501c 100644 --- a/tokio/src/runtime/park.rs +++ b/tokio/src/runtime/park.rs @@ -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);