diff options
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! |