summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcssivision <cssivision@gmail.com>2020-11-20 14:06:14 +0800
committerGitHub <noreply@github.com>2020-11-20 15:06:14 +0900
commit49abfdb2ac7f564c638ef99b973b1ab7a2b7ec84 (patch)
treef09954c70e26336bdb1bc525f832916c2d7037bf
parent479c545c20b2cb44a8f09600733adc8c8dcb5aa0 (diff)
util: fix typo in udp/frame.rs (#3154)
-rw-r--r--tokio-util/src/udp/frame.rs2
1 files changed, 1 insertions, 1 deletions
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<C: Decoder + Unpin> Stream for UdpFramed<C> {
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