Skip to content

Commit 946401c

Browse files
authored
net: display net requirement for net::UdpSocket in docs (#6938)
1 parent 0c01fd2 commit 946401c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio/src/net/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ cfg_net! {
4646
pub use tcp::socket::TcpSocket;
4747

4848
mod udp;
49+
#[doc(inline)]
4950
pub use udp::UdpSocket;
5051
}
5152
}

0 commit comments

Comments
 (0)