mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-31 00:00:07 +02:00
udp: Fix warning with unused paren (#2219)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
@@ -42,7 +42,7 @@ impl<C: Decoder> Stream for UdpFramed<C> {
|
||||
type Item = (C::Item, SocketAddr);
|
||||
type Error = C::Error;
|
||||
|
||||
fn poll(&mut self) -> Poll<Option<(Self::Item)>, Self::Error> {
|
||||
fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
|
||||
self.rd.reserve(INITIAL_RD_CAPACITY);
|
||||
|
||||
if self.repeat_decode {
|
||||
|
||||
Reference in New Issue
Block a user