From 9ff7d8c3525bfbe1493aebe89b5e8d455f02f1eb Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 10 May 2021 04:35:09 +0900 Subject: [PATCH] net: hide net::unix::datagram module from docs (#3775) --- tokio/src/net/unix/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tokio/src/net/unix/mod.rs b/tokio/src/net/unix/mod.rs index 19ee34a54ea..c3046f17e6b 100644 --- a/tokio/src/net/unix/mod.rs +++ b/tokio/src/net/unix/mod.rs @@ -1,5 +1,9 @@ //! Unix domain socket utility types +// This module does not currently provide any public API, but it was +// unintentionally defined as a public module. Hide it from the documentation +// instead of changing it to a private module to avoid breakage. +#[doc(hidden)] pub mod datagram; pub(crate) mod listener;