]> git.lizzy.rs Git - rust.git/commitdiff
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)
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 `?`.


Trivial merge