Uh oh!
There was an error while loading. Please reload this page.
Rewrite std::net::ToSocketAddrs doc examples. - #44117
Conversation
rust-highfive
commented
Aug 27, 2017
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
QuietMisdreavus
left a comment
There was a problem hiding this comment.
hit a few travis errors
There was a problem hiding this comment.
Looks like there's not an impl for ((u8, u8, u8, u8), u16)? Maybe you still need a Ipv4Addr::new?
There was a problem hiding this comment.
this actually appears to have successfully called to_socket_addrso_O
called `Result::unwrap_err()` on an `Ok` value: IntoIter([V4(127.0.0.0:80)])
There was a problem hiding this comment.
Is setting this to no_run the right call? Especially if it actually resolved an address in the last run? If we want to show an example of it not resolving the address, we could just leave off the port; that will cause a failure.
There was a problem hiding this comment.
missing close paren, this is the travis failure
frewsxcv
commented
Aug 28, 2017
tests pass now. i'll squash whenever this gets approved |
QuietMisdreavus
commented
Aug 28, 2017
Looks good! Go ahead and squash and r=me. |
in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios
043382c to
10bd39eComparefrewsxcv
commented
Aug 28, 2017
@bors r=QuietMisdreavus rollup |
bors
commented
Aug 28, 2017
📌 Commit 10bd39e has been approved by |
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
in particular:
done this as preliminary work while investigating #22569
note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving