]> git.feebdaed.xyz Git - 0xmirror/tokio.git/commitdiff
examples: update outdated example name `connect` to `connect-tcp` (#7582)
authorMartin Grigorov <martin-g@users.noreply.github.com>
Sat, 6 Sep 2025 06:01:40 +0000 (09:01 +0300)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 06:01:40 +0000 (14:01 +0800)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
examples/echo-tcp.rs
examples/tinydb.rs

index 7ced86acb511cf4174e834675911a19689c423f3..5f44fca3f56d3ce55cff681c49a850b9685f0bb2 100644 (file)
@@ -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)]
index e0c4a700dd25d6b01a3b65fe1ca00860d1b234f6..a3624a996b4200bedae7c8c8b4244d5837bf8c54 100644 (file)
@@ -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