@@ -155,7 +155,7 @@ impl UdpSocket {
155155 /// For more information about this option, see
156156 /// [`set_broadcast`][link].
157157 ///
158- /// [link]: #tymethod .set_broadcast
158+ /// [link]: #method .set_broadcast
159159 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
160160 pub fn broadcast ( & self ) -> io:: Result < bool > {
161161 self . 0 . broadcast ( )
@@ -175,7 +175,7 @@ impl UdpSocket {
175175 /// For more information about this option, see
176176 /// [`set_multicast_loop_v4`][link].
177177 ///
178- /// [link]: #tymethod .set_multicast_loop_v4
178+ /// [link]: #method .set_multicast_loop_v4
179179 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
180180 pub fn multicast_loop_v4 ( & self ) -> io:: Result < bool > {
181181 self . 0 . multicast_loop_v4 ( )
@@ -198,7 +198,7 @@ impl UdpSocket {
198198 /// For more information about this option, see
199199 /// [`set_multicast_ttl_v4`][link].
200200 ///
201- /// [link]: #tymethod .set_multicast_ttl_v4
201+ /// [link]: #method .set_multicast_ttl_v4
202202 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
203203 pub fn multicast_ttl_v4 ( & self ) -> io:: Result < u32 > {
204204 self . 0 . multicast_ttl_v4 ( )
@@ -218,7 +218,7 @@ impl UdpSocket {
218218 /// For more information about this option, see
219219 /// [`set_multicast_loop_v6`][link].
220220 ///
221- /// [link]: #tymethod .set_multicast_loop_v6
221+ /// [link]: #method .set_multicast_loop_v6
222222 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
223223 pub fn multicast_loop_v6 ( & self ) -> io:: Result < bool > {
224224 self . 0 . multicast_loop_v6 ( )
@@ -237,7 +237,7 @@ impl UdpSocket {
237237 ///
238238 /// For more information about this option, see [`set_ttl`][link].
239239 ///
240- /// [link]: #tymethod .set_ttl
240+ /// [link]: #method .set_ttl
241241 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
242242 pub fn ttl ( & self ) -> io:: Result < u32 > {
243243 self . 0 . ttl ( )
@@ -260,7 +260,7 @@ impl UdpSocket {
260260 ///
261261 /// For more information about this option, see [`set_only_v6`][link].
262262 ///
263- /// [link]: #tymethod .set_only_v6
263+ /// [link]: #method .set_only_v6
264264 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
265265 pub fn only_v6 ( & self ) -> io:: Result < bool > {
266266 self . 0 . only_v6 ( )
@@ -293,7 +293,7 @@ impl UdpSocket {
293293 /// For more information about this option, see
294294 /// [`join_multicast_v4`][link].
295295 ///
296- /// [link]: #tymethod .join_multicast_v4
296+ /// [link]: #method .join_multicast_v4
297297 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
298298 pub fn leave_multicast_v4 ( & self , multiaddr : & Ipv4Addr , interface : & Ipv4Addr ) -> io:: Result < ( ) > {
299299 self . 0 . leave_multicast_v4 ( multiaddr, interface)
@@ -304,7 +304,7 @@ impl UdpSocket {
304304 /// For more information about this option, see
305305 /// [`join_multicast_v6`][link].
306306 ///
307- /// [link]: #tymethod .join_multicast_v6
307+ /// [link]: #method .join_multicast_v6
308308 #[ stable( feature = "net2_mutators" , since = "1.9.0" ) ]
309309 pub fn leave_multicast_v6 ( & self , multiaddr : & Ipv6Addr , interface : u32 ) -> io:: Result < ( ) > {
310310 self . 0 . leave_multicast_v6 ( multiaddr, interface)
0 commit comments