Skip to content

Commit 48b6069

Browse files
committed
Fix typo in src/libstd/net/udp.rs doc comment
Affect is usually used as a verb, effect as a verb.
1 parent 4ed008a commit 48b6069

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/net/udp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ impl UdpSocket {
422422
/// Sets the value of the `IP_MULTICAST_LOOP` option for this socket.
423423
///
424424
/// If enabled, multicast packets will be looped back to the local socket.
425-
/// Note that this may not have any affect on IPv6 sockets.
425+
/// Note that this may not have any effect on IPv6 sockets.
426426
///
427427
/// # Examples
428428
///
@@ -464,7 +464,7 @@ impl UdpSocket {
464464
/// this socket. The default value is 1 which means that multicast packets
465465
/// don't leave the local network unless explicitly requested.
466466
///
467-
/// Note that this may not have any affect on IPv6 sockets.
467+
/// Note that this may not have any effect on IPv6 sockets.
468468
///
469469
/// # Examples
470470
///

0 commit comments

Comments
 (0)