mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Fix typo in src/libstd/net/udp.rs doc comment
Affect is usually used as a verb, effect as a verb.
This commit is contained in:
@@ -422,7 +422,7 @@ pub fn broadcast(&self) -> io::Result<bool> {
|
||||
/// 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
|
||||
///
|
||||
@@ -464,7 +464,7 @@ pub fn multicast_loop_v4(&self) -> io::Result<bool> {
|
||||
/// 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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user