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.
?
.unwrap()
1 parent 2ddc0cb commit a65d535Copy full SHA for a65d535
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