We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745e926 commit 76aa929Copy full SHA for 76aa929
library/std/src/net/tcp.rs
@@ -405,7 +405,7 @@ impl TcpStream {
405
/// use std::net::TcpStream;
406
///
407
/// let stream = TcpStream::connect("127.0.0.1:8000")
408
- /// .expect("couldn't bind to address");
+ /// .expect("Couldn't connect to the server...");
409
/// let mut buf = [0; 10];
410
/// let len = stream.peek(&mut buf).expect("peek failed");
411
/// ```
0 commit comments