From 3eb515e1a706dd37f60516bd0f040434644de7a9 Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Sat, 6 Sep 2025 09:01:40 +0300 Subject: [PATCH] examples: update outdated example name `connect` to `connect-tcp` (#7582) Signed-off-by: Martin Tzvetanov Grigorov --- examples/echo-tcp.rs | 2 +- examples/tinydb.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/echo-tcp.rs b/examples/echo-tcp.rs index 7ced86acb..5f44fca3f 100644 --- a/examples/echo-tcp.rs +++ b/examples/echo-tcp.rs @@ -16,7 +16,7 @@ //! cargo run --example connect-tcp 127.0.0.1:8080 //! //! Each line you type in to the `connect-tcp` terminal should be echo'd back to -//! you! If you open up multiple terminals running the `connect` example you +//! you! If you open up multiple terminals running the `connect-tcp` example you //! should be able to see them all make progress simultaneously. #![warn(rust_2018_idioms)] diff --git a/examples/tinydb.rs b/examples/tinydb.rs index e0c4a700d..a3624a996 100644 --- a/examples/tinydb.rs +++ b/examples/tinydb.rs @@ -19,7 +19,7 @@ //! is: //! //! -//! $ cargo run --example connect 127.0.0.1:8080 +//! $ cargo run --example connect-tcp 127.0.0.1:8080 //! GET foo //! foo = bar //! GET FOOBAR