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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 6 deletions

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

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! {

View File

@ -1,3 +0,0 @@
//! UDP utility types.
pub(crate) mod socket;