about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-07 12:13:28 +0000
committerbors <bors@rust-lang.org>2017-10-07 12:13:28 +0000
commitbb4d1491466d8239a7a5fd68bd605e3276e97afb (patch)
tree7bc523ced1bfc32c251a8f87f928858a6c8b3e8f /src/libstd/sys
parentd2f71bf23f67b18fbdb64f1173af1a0ddc649421 (diff)
parent6482ee7cde565a432980036abe521e86bff432bd (diff)
downloadrust-bb4d1491466d8239a7a5fd68bd605e3276e97afb.tar.gz
rust-bb4d1491466d8239a7a5fd68bd605e3276e97afb.zip
Auto merge of #44913 - leavehouse:patch-1, r=BurntSushi
Fix TcpStream::local_addr docs example code

The local address's port is not 8080 in this example, that's the remote peer address port. On my machine, the local address is different every time, so I've changed `assert_eq` to only test the IP address
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions