From 36a15efeac3b8005e49e49b99036ff18ab6037a4 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 3 Dec 2018 17:46:25 -0800 Subject: [PATCH] do not export cell --- src/cell.rs | 3 +-- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cell.rs b/src/cell.rs index 7f2e25a6..0f45c085 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -7,8 +7,7 @@ use std::cell::{Ref, RefCell, RefMut}; use std::fmt; use std::rc::Rc; -#[doc(hidden)] -pub struct Cell { +pub(crate) struct Cell { #[cfg(feature = "cell")] inner: Rc>, #[cfg(not(feature = "cell"))] diff --git a/src/lib.rs b/src/lib.rs index 65a4e177..0fd6e917 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,8 +55,7 @@ extern crate webpki; #[cfg(feature = "rust-tls")] extern crate webpki_roots; -#[doc(hidden)] -pub mod cell; +mod cell; pub mod cloneable; pub mod codec; pub mod connector;