]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107535 - dcompoze:tcp-doc-unwrap, r=cuviper
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 31 Jan 2023 22:38:55 +0000 (23:38 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 22:38:55 +0000 (23:38 +0100)
commitadc3f8a44b943463577a5f8870da8fd18b749351
treebe5ace1b1ff0e992d755e7e241998e6ef3a5ae5b
parent9e0bfe0fb09cdd63660e4fbe0589968ceb9ede0d
parent943f833314575f0e72b3af287258a49d73ee30e0
Rollup merge of #107535 - dcompoze:tcp-doc-unwrap, r=cuviper

Replace unwrap with ? in TcpListener doc

The example in TcpListener doc returns `std::io::Result<()>` but the code inside the function uses `unwrap()` instead of `?`.