aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sean McArthur <sean@seanmonstar.com> 2019-06-07 12:31:44 -0700
committerGravatar Carl Lerche <me@carllerche.com> 2019-06-07 12:31:44 -0700
commit47fdf06e34ca8ae91281f05a1555923f3878aeec (patch)
tree8467bd59f40923637860a1396478d5a5a4fa027a /src
parent55aa530dc1169484135d479f8b0704617a09ac8f (diff)
downloadbytes-47fdf06e34ca8ae91281f05a1555923f3878aeec.tar.gz
bytes-47fdf06e34ca8ae91281f05a1555923f3878aeec.tar.zst
bytes-47fdf06e34ca8ae91281f05a1555923f3878aeec.zip
Make serde module private (#262)
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f942ad7..ec0ed7a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -87,8 +87,7 @@ pub use bytes::{Bytes, BytesMut};
// Optional Serde support
#[cfg(feature = "serde")]
-#[doc(hidden)]
-pub mod serde;
+mod serde;
// Optional `Either` support
#[cfg(feature = "either")]