net: remove empty udp module (#3260)

This commit is contained in:
Evan Cameron
2020-12-11 14:45:57 -05:00
committed by GitHub
parent 69e62ef89e
commit 68717c7efa
4 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -239,7 +239,7 @@
//! [`std::io`]: std::io
//! [`tokio::net`]: crate::net
//! [TCP]: crate::net::tcp
//! [UDP]: crate::net::udp
//! [UDP]: crate::net::UdpSocket
//! [UDS]: crate::net::unix
//! [`tokio::fs`]: crate::fs
//! [`std::fs`]: std::fs
+2 -2
View File
@@ -36,8 +36,8 @@ cfg_net! {
pub use tcp::socket::TcpSocket;
pub use tcp::stream::TcpStream;
pub mod udp;
pub use udp::socket::UdpSocket;
mod udp;
pub use udp::UdpSocket;
}
cfg_net_unix! {
-3
View File
@@ -1,3 +0,0 @@
//! UDP utility types.
pub(crate) mod socket;