Skip to content

Commit 6391d42

Browse files
committed
Rewrap description of SocketAddrV4 textual format.
1 parent cfdae6f commit 6391d42

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

library/core/src/net/socket_addr.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ pub enum SocketAddr {
5252
/// # Textual representation
5353
///
5454
/// `SocketAddrV4` provides a [`FromStr`](crate::str::FromStr) implementation.
55-
/// It accepts an IPv4 address in its [textual representation],
56-
/// followed by a single `:`,
57-
/// followed by the port encoded as a decimal integer.
58-
/// Other formats are not accepted.
55+
/// It accepts an IPv4 address in its [textual representation], followed by a
56+
/// single `:`, followed by the port encoded as a decimal integer. Other
57+
/// formats are not accepted.
5958
///
6059
/// [textual representation]: Ipv4Addr#textual-representation
6160
///

0 commit comments

Comments
 (0)