From 7aabd85faa9e78e40161839b14946c5aa6750086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Thu, 23 Jun 2022 22:45:40 +0200 Subject: [PATCH] Remove invalid doc comment on the size of an IP struct --- library/std/src/net/ip.rs | 9 --------- 1 file changed, 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