diff --git a/tokio/src/sync/mpsc/list.rs b/tokio/src/sync/mpsc/list.rs index 7869db82fc1..9cb15517304 100644 --- a/tokio/src/sync/mpsc/list.rs +++ b/tokio/src/sync/mpsc/list.rs @@ -262,9 +262,7 @@ impl Rx { unsafe { let block = self.head.as_ref(); - let ret = block.read(self.index); - - ret + block.read(self.index) } }