File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ impl UdpSocket {
159159 /// This will return an error when the IP version of the local socket
160160 /// does not match that returned from [`ToSocketAddrs`].
161161 ///
162- /// See issue #34202 for more details.
162+ /// See [Issue #34202] for more details.
163163 ///
164164 /// # Examples
165165 ///
@@ -169,6 +169,8 @@ impl UdpSocket {
169169 /// let socket = UdpSocket::bind("127.0.0.1:34254").expect("couldn't bind to address");
170170 /// socket.send_to(&[0; 10], "127.0.0.1:4242").expect("couldn't send data");
171171 /// ```
172+ ///
173+ /// [Issue #34202]: https://github.com/rust-lang/rust/issues/34202
172174 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
173175 pub fn send_to < A : ToSocketAddrs > ( & self , buf : & [ u8 ] , addr : A ) -> io:: Result < usize > {
174176 match addr. to_socket_addrs ( ) ?. next ( ) {
You can’t perform that action at this time.
0 commit comments