]> git.lizzy.rs Git - rust.git/commit
Rewrite `std::net::ToSocketAddrs` doc examples.
authorCorey Farwell <coreyf@rwell.org>
Sun, 27 Aug 2017 19:17:07 +0000 (12:17 -0700)
committerCorey Farwell <coreyf@rwell.org>
Mon, 28 Aug 2017 13:23:06 +0000 (09:23 -0400)
commit10bd39e7af94910e9cdc57e63c966d2020223d8f
tree04fa058834f43de86565e8e16dc5d3ed1ed9ab29
parent2bb8fca18215298487a8684a132da828fdb5a751
Rewrite `std::net::ToSocketAddrs` doc examples.

in particular:

* show how to create an iterator that yields multiple socket addresses
* show more failing scenarios
src/libstd/net/addr.rs