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 f361413 commit 943f833Copy full SHA for 943f833
library/std/src/net/tcp.rs
@@ -829,7 +829,7 @@ impl TcpListener {
829
/// }
830
///
831
/// fn main() -> std::io::Result<()> {
832
- /// let listener = TcpListener::bind("127.0.0.1:80").unwrap();
+ /// let listener = TcpListener::bind("127.0.0.1:80")?;
833
834
/// for stream in listener.incoming() {
835
/// match stream {
0 commit comments