mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
chore: remove unnecessary conversion (#1332)
This commit is contained in:
@@ -302,7 +302,7 @@ impl Entry {
|
||||
|
||||
self.waker.register_by_ref(cx.waker());
|
||||
|
||||
curr = self.state.load(SeqCst).into();
|
||||
curr = self.state.load(SeqCst);
|
||||
|
||||
if is_elapsed(curr) {
|
||||
return Poll::Ready(if curr == ERROR {
|
||||
|
||||
Reference in New Issue
Block a user