Skip to content

Commit

Permalink
Rollup merge of rust-lang#62787 - Indy2222:master, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix typo in src/libstd/net/udp.rs doc comment

Affect is usually used as a verb, effect as a verb.
  • Loading branch information
Centril authored Jul 21, 2019
2 parents 785acaf + 48b6069 commit c8c401a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/net/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl UdpSocket {
/// Sets the value of the `IP_MULTICAST_LOOP` option for this socket.
///
/// If enabled, multicast packets will be looped back to the local socket.
/// Note that this may not have any affect on IPv6 sockets.
/// Note that this may not have any effect on IPv6 sockets.
///
/// # Examples
///
Expand Down Expand Up @@ -464,7 +464,7 @@ impl UdpSocket {
/// this socket. The default value is 1 which means that multicast packets
/// don't leave the local network unless explicitly requested.
///
/// Note that this may not have any affect on IPv6 sockets.
/// Note that this may not have any effect on IPv6 sockets.
///
/// # Examples
///
Expand Down

0 comments on commit c8c401a

Please sign in to comment.