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.
2 parents 47a1d6b + a65d535 commit d94a279Copy full SHA for d94a279
src/libstd/net/tcp.rs
@@ -81,7 +81,7 @@ pub struct TcpStream(net_imp::TcpStream);
81
/// }
82
///
83
/// fn main() -> io::Result<()> {
84
-/// let listener = TcpListener::bind("127.0.0.1:80").unwrap();
+/// let listener = TcpListener::bind("127.0.0.1:80")?;
85
86
/// // accept connections and process them serially
87
/// for stream in listener.incoming() {
0 commit comments