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.rs | |
parent | 9b62ade9629a44a792ba0243af52613d7283cec0 (diff) |
Touch up examples to ensure consistency
Diffstat (limited to 'examples/echo.rs')
-rw-r--r-- | examples/echo.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/echo.rs b/examples/echo.rs index 925449b3..eb7aecd9 100644 --- a/examples/echo.rs +++ b/examples/echo.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 -//! ``` +//! cargo run --example echo //! //! and in another terminal you can run: //! -//! ```sh -//! $ nc localhost 8080 -//! ``` +//! nc -4 localhost 8080 //! //! Each line you type in to the `nc` terminal should be echo'd back to you! |