]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #88339 - piegamesde:master, r=joshtriplett
authorYuki Okushi <jtitor@2k36.org>
Fri, 17 Sep 2021 05:09:45 +0000 (14:09 +0900)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 05:09:45 +0000 (14:09 +0900)
commit0f06e366035fef3034c82c5ae80f7ecabd8bafbd
tree7648de9271b1616db3cf077f08aa5c98f3df00f8
parent81dc21699e7376afcf7469104ad8acb7c5f09269
parentced597edb7e154092efde9df975ee76f9642a200
Rollup merge of #88339 - piegamesde:master, r=joshtriplett

Add TcpListener::into_incoming and IntoIncoming

The `incoming` method is really useful, however for some use cases the borrow
this introduces is needlessly restricting. Thus, an owned variant is added.

r? ``@joshtriplett``
library/std/src/net/tcp.rs