From 49abfdb2ac7f564c638ef99b973b1ab7a2b7ec84 Mon Sep 17 00:00:00 2001 From: cssivision Date: Fri, 20 Nov 2020 14:06:14 +0800 Subject: util: fix typo in udp/frame.rs (#3154) --- tokio-util/src/udp/frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/src/udp/frame.rs b/tokio-util/src/udp/frame.rs index 0c711a86..19891058 100644 --- a/tokio-util/src/udp/frame.rs +++ b/tokio-util/src/udp/frame.rs @@ -56,7 +56,7 @@ impl Stream for UdpFramed { pin.rd.reserve(INITIAL_RD_CAPACITY); loop { - // Are there are still bytes left in the read buffer to decode? + // Are there still bytes left in the read buffer to decode? if pin.is_readable { if let Some(frame) = pin.codec.decode_eof(&mut pin.rd)? { let current_addr = pin -- cgit v1.2.3