summaryrefslogtreecommitdiffstats
path: root/examples/echo-udp.rs
diff options
context:
space:
mode:
authorking6cong <king6cong@gmail.com>2017-03-07 11:39:51 +0800
committerking6cong <king6cong@gmail.com>2017-03-07 11:39:51 +0800
commita67e0d3efb93cb2bcf619417bdccdf8e89532614 (patch)
tree022bb7bb7dcaf3fa21222cf8e7dcf72b7f3dc331 /examples/echo-udp.rs
parentbd75a522c3d58c09b67d5ae2942e085918b599cb (diff)
comment rewording
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r--examples/echo-udp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs
index 23bfbccf..1dd65ef7 100644
--- a/examples/echo-udp.rs
+++ b/examples/echo-udp.rs
@@ -35,7 +35,7 @@ impl Future for Server {
loop {
// First we check to see if there's a message we need to echo back.
// If so then we try to send it back to the original source, waiting
- // until we're writable and able to do so.
+ // until it's writable and we're able to do so.
if let Some((size, peer)) = self.to_send {
let amt = try_nb!(self.socket.send_to(&self.buf[..size], &peer));
println!("Echoed {}/{} bytes to {}", amt, size, peer);