diff options
| author | Linus Färnstrand <faern@faern.net> | 2022-06-23 22:45:40 +0200 |
|---|---|---|
| committer | Linus Färnstrand <faern@faern.net> | 2022-06-23 22:45:40 +0200 |
| commit | 7aabd85faa9e78e40161839b14946c5aa6750086 (patch) | |
| tree | c9f540481682815d8591cf3dbe6c23e3922b3551 /library/std/src | |
| parent | a344d10810187430811b43a71ad9b742d25f9b37 (diff) | |
| download | rust-7aabd85faa9e78e40161839b14946c5aa6750086.tar.gz rust-7aabd85faa9e78e40161839b14946c5aa6750086.zip | |
Remove invalid doc comment on the size of an IP struct
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/net/ip.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs index 1d49024f13e..41ca9ba8425 100644 --- a/library/std/src/net/ip.rs +++ b/library/std/src/net/ip.rs @@ -14,9 +14,6 @@ use crate::sys_common::{FromInner, IntoInner}; /// This enum can contain either an [`Ipv4Addr`] or an [`Ipv6Addr`], see their /// respective documentation for more details. /// -/// The size of an `IpAddr` instance may vary depending on the target operating -/// system. -/// /// # Examples /// /// ``` @@ -49,9 +46,6 @@ pub enum IpAddr { /// /// See [`IpAddr`] for a type encompassing both IPv4 and IPv6 addresses. /// -/// The size of an `Ipv4Addr` struct may vary depending on the target operating -/// system. -/// /// [IETF RFC 791]: https://tools.ietf.org/html/rfc791 /// /// # Textual representation @@ -87,9 +81,6 @@ pub struct Ipv4Addr { /// IPv6 addresses are defined as 128-bit integers in [IETF RFC 4291]. /// They are usually represented as eight 16-bit segments. /// -/// The size of an `Ipv6Addr` struct may vary depending on the target operating -/// system. -/// /// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291 /// /// # Embedding IPv4 Addresses |
