about summary refs log tree commit diff
path: root/library/std/src/net/addr.rs
AgeCommit message (Collapse)AuthorLines
2021-03-26Document that the SocketAddr memory representation is not stableLinus Färnstrand-2/+8
2020-10-04Include scope id in SocketAddrV6::DisplayTamir Duberstein-2/+10
2020-09-22Update library/std/src/net/addr.rsImbolc-1/+1
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-09-22Update library/std/src/net/addr.rsImbolc-1/+1
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-09-22Update addr.rsImbolc-1/+1
I little clarification
2020-09-02Convert many files to intra-doc linksJoshua Nelson-4/+0
- Use intra-doc links for `std::io` in `std::fs` - Use intra-doc links for File::read in unix/ext/fs.rs - Remove explicit intra-doc links for `true` in `net/addr.rs` - Use intra-doc links in alloc/src/sync.rs - Use intra-doc links in src/ascii.rs - Switch to intra-doc links in alloc/rc.rs - Use intra-doc links in core/pin.rs - Use intra-doc links in std/prelude - Use shorter links in `std/fs.rs` `io` is already in scope.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-233/+3
Also doing fmt inplace as requested.
2020-08-19Minor changes to Ipv4AddrLzu Tao-2/+4
* Impl IntoInner rather than AsInner for Ipv4Addr * Add some comments * Add test to show endiannes of Ipv4Addr display
2020-08-16Fix a link, improve method resolutionAlexis Bourget-0/+2
2020-08-15Move to intra doc links in std::netAlexis Bourget-55/+25
2020-07-28Change Debug impl of SocketAddr and IpAddr to match their Display outputLukas Kalbertodt-1/+8
This has already been done for `SocketAddrV4`, `SocketAddrV6`, `IpAddrV4` and `IpAddrV6`. I don't see a point to keep the rather bad to read derived impl, especially when pretty printing: V4( 127.0.0.1 ) From the `Display`, one can easily and unambiguously see if it's V4 or V6. Using `Display` as `Debug` is very convenient for configuration structs (e.g. for webservers) that often just have a `derive(Debug)` and are printed that way to the user.
2020-07-27mv std libs to library/mark-0/+1245