Skip to content

Commit

Permalink
net: remove empty udp module (#3260)
Browse files Browse the repository at this point in the history
  • Loading branch information
leshow authored Dec 11, 2020
1 parent 69e62ef commit 68717c7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tokio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tokio/src/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions tokio/src/net/udp/mod.rs

This file was deleted.

0 comments on commit 68717c7

Please sign in to comment.