Skip to content

Commit 0df7398

Browse files
committed
std::net docs: changed occurences of "RFC" to say "IETF RFC"
part of #29363
1 parent 76d08ed commit 0df7398

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/libstd/net/ip.rs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ impl Ipv4Addr {
296296

297297
/// Returns true if this is a loopback address (127.0.0.0/8).
298298
///
299-
/// This property is defined by [RFC 1122].
299+
/// This property is defined by [IETF RFC 1122].
300300
///
301-
/// [RFC 1122]: https://tools.ietf.org/html/rfc1122
301+
/// [IETF RFC 1122]: https://tools.ietf.org/html/rfc1122
302302
///
303303
/// # Examples
304304
///
@@ -315,13 +315,13 @@ impl Ipv4Addr {
315315

316316
/// Returns true if this is a private address.
317317
///
318-
/// The private address ranges are defined in [RFC 1918] and include:
318+
/// The private address ranges are defined in [IETF RFC 1918] and include:
319319
///
320320
/// - 10.0.0.0/8
321321
/// - 172.16.0.0/12
322322
/// - 192.168.0.0/16
323323
///
324-
/// [RFC 1918]: https://tools.ietf.org/html/rfc1918
324+
/// [IETF RFC 1918]: https://tools.ietf.org/html/rfc1918
325325
///
326326
/// # Examples
327327
///
@@ -348,9 +348,9 @@ impl Ipv4Addr {
348348

349349
/// Returns true if the address is link-local (169.254.0.0/16).
350350
///
351-
/// This property is defined by [RFC 3927].
351+
/// This property is defined by [IETF RFC 3927].
352352
///
353-
/// [RFC 3927]: https://tools.ietf.org/html/rfc3927
353+
/// [IETF RFC 3927]: https://tools.ietf.org/html/rfc3927
354354
///
355355
/// # Examples
356356
///
@@ -403,9 +403,9 @@ impl Ipv4Addr {
403403
/// Returns true if this is a multicast address (224.0.0.0/4).
404404
///
405405
/// Multicast addresses have a most significant octet between 224 and 239,
406-
/// and is defined by [RFC 5771].
406+
/// and is defined by [IETF RFC 5771].
407407
///
408-
/// [RFC 5771]: https://tools.ietf.org/html/rfc5771
408+
/// [IETF RFC 5771]: https://tools.ietf.org/html/rfc5771
409409
///
410410
/// # Examples
411411
///
@@ -423,9 +423,9 @@ impl Ipv4Addr {
423423

424424
/// Returns true if this is a broadcast address (255.255.255.255).
425425
///
426-
/// A broadcast address has all octets set to 255 as defined in [RFC 919].
426+
/// A broadcast address has all octets set to 255 as defined in [IETF RFC 919].
427427
///
428-
/// [RFC 919]: https://tools.ietf.org/html/rfc919
428+
/// [IETF RFC 919]: https://tools.ietf.org/html/rfc919
429429
///
430430
/// # Examples
431431
///
@@ -443,13 +443,13 @@ impl Ipv4Addr {
443443

444444
/// Returns true if this address is in a range designated for documentation.
445445
///
446-
/// This is defined in [RFC 5737]:
446+
/// This is defined in [IETF RFC 5737]:
447447
///
448448
/// - 192.0.2.0/24 (TEST-NET-1)
449449
/// - 198.51.100.0/24 (TEST-NET-2)
450450
/// - 203.0.113.0/24 (TEST-NET-3)
451451
///
452-
/// [RFC 5737]: https://tools.ietf.org/html/rfc5737
452+
/// [IETF RFC 5737]: https://tools.ietf.org/html/rfc5737
453453
///
454454
/// # Examples
455455
///
@@ -719,9 +719,9 @@ impl Ipv6Addr {
719719

720720
/// Returns true for the special 'unspecified' address (::).
721721
///
722-
/// This property is defined in [RFC 4291].
722+
/// This property is defined in [IETF RFC 4291].
723723
///
724-
/// [RFC 4291]: https://tools.ietf.org/html/rfc4291
724+
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
725725
///
726726
/// # Examples
727727
///
@@ -738,9 +738,9 @@ impl Ipv6Addr {
738738

739739
/// Returns true if this is a loopback address (::1).
740740
///
741-
/// This property is defined in [RFC 4291].
741+
/// This property is defined in [IETF RFC 4291].
742742
///
743-
/// [RFC 4291]: https://tools.ietf.org/html/rfc4291
743+
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
744744
///
745745
/// # Examples
746746
///
@@ -786,9 +786,9 @@ impl Ipv6Addr {
786786

787787
/// Returns true if this is a unique local address (fc00::/7).
788788
///
789-
/// This property is defined in [RFC 4193].
789+
/// This property is defined in [IETF RFC 4193].
790790
///
791-
/// [RFC 4193]: https://tools.ietf.org/html/rfc4193
791+
/// [IETF RFC 4193]: https://tools.ietf.org/html/rfc4193
792792
///
793793
/// # Examples
794794
///
@@ -809,9 +809,9 @@ impl Ipv6Addr {
809809

810810
/// Returns true if the address is unicast and link-local (fe80::/10).
811811
///
812-
/// This property is defined in [RFC 4291].
812+
/// This property is defined in [IETF RFC 4291].
813813
///
814-
/// [RFC 4291]: https://tools.ietf.org/html/rfc4291
814+
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
815815
///
816816
/// # Examples
817817
///
@@ -853,9 +853,9 @@ impl Ipv6Addr {
853853
/// Returns true if this is an address reserved for documentation
854854
/// (2001:db8::/32).
855855
///
856-
/// This property is defined in [RFC 3849].
856+
/// This property is defined in [IETF RFC 3849].
857857
///
858-
/// [RFC 3849]: https://tools.ietf.org/html/rfc3849
858+
/// [IETF RFC 3849]: https://tools.ietf.org/html/rfc3849
859859
///
860860
/// # Examples
861861
///
@@ -939,9 +939,9 @@ impl Ipv6Addr {
939939

940940
/// Returns true if this is a multicast address (ff00::/8).
941941
///
942-
/// This property is defined by [RFC 4291].
942+
/// This property is defined by [IETF RFC 4291].
943943
///
944-
/// [RFC 4291]: https://tools.ietf.org/html/rfc4291
944+
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
945945
/// # Examples
946946
///
947947
/// ```

0 commit comments

Comments
 (0)