diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-11-22 12:35:30 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-11-22 12:35:30 -0800 |
commit | 1a48b79474402435f371c31f3121f9ec6cd9aab7 (patch) | |
tree | 16f5a62a38808277f9564d049e95730eee7a9d7e /examples/echo-udp.rs | |
parent | 9b62ade9629a44a792ba0243af52613d7283cec0 (diff) |
Touch up examples to ensure consistency
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r-- | examples/echo-udp.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs index 0b9004df..23bfbccf 100644 --- a/examples/echo-udp.rs +++ b/examples/echo-udp.rs @@ -2,15 +2,11 @@ //! //! If you're on unix you can test this out by in one terminal executing: //! -//! ```sh -//! $ cargo run --example echo-udp -//! ``` +//! cargo run --example echo-udp //! //! and in another terminal you can run: //! -//! ```sh -//! $ nc -4u localhost 8080 -//! ``` +//! nc -4u localhost 8080 //! //! Each line you type in to the `nc` terminal should be echo'd back to you! |