From 95899e007d1f21b59a2fb35fac4fce01154efe4d Mon Sep 17 00:00:00 2001 From: Gray Olson Date: Mon, 12 Mar 2018 10:39:32 -0700 Subject: Update comment in udp-codec example (#222) --- examples/udp-codec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/udp-codec.rs') diff --git a/examples/udp-codec.rs b/examples/udp-codec.rs index c9b53f17..063083e5 100644 --- a/examples/udp-codec.rs +++ b/examples/udp-codec.rs @@ -28,7 +28,7 @@ fn main() { let b = UdpSocket::bind(&addr).unwrap(); let b_addr = b.local_addr().unwrap(); - // We're parsing each socket with the `LineCodec` defined above, and then we + // We're parsing each socket with the `BytesCodec` included in `tokio_io`, and then we // `split` each codec into the sink/stream halves. let (a_sink, a_stream) = UdpFramed::new(a, BytesCodec::new()).split(); let (b_sink, b_stream) = UdpFramed::new(b, BytesCodec::new()).split(); -- cgit v1.2.3