We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46d39f3 commit 50bfc23Copy full SHA for 50bfc23
src/libstd/net/udp.rs
@@ -67,6 +67,9 @@ impl UdpSocket {
67
///
68
/// Address type can be any implementor of `ToSocketAddrs` trait. See its
69
/// documentation for concrete examples.
70
+ /// This will return an error when the IP version of the local socket
71
+ /// does not match that returned from `ToSocketAddrs`
72
+ /// See https://github.com/rust-lang/rust/issues/34202 for more details.
73
#[stable(feature = "rust1", since = "1.0.0")]
74
pub fn send_to<A: ToSocketAddrs>(&self, buf: &[u8], addr: A)
75
-> io::Result<usize> {
0 commit comments