1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 20:12:58 +01:00

do not export cell

This commit is contained in:
Nikolay Kim 2018-12-03 17:46:25 -08:00
parent 5937a06ebe
commit 36a15efeac
2 changed files with 2 additions and 4 deletions

View File

@ -7,8 +7,7 @@ use std::cell::{Ref, RefCell, RefMut};
use std::fmt; use std::fmt;
use std::rc::Rc; use std::rc::Rc;
#[doc(hidden)] pub(crate) struct Cell<T> {
pub struct Cell<T> {
#[cfg(feature = "cell")] #[cfg(feature = "cell")]
inner: Rc<UnsafeCell<T>>, inner: Rc<UnsafeCell<T>>,
#[cfg(not(feature = "cell"))] #[cfg(not(feature = "cell"))]

View File

@ -55,8 +55,7 @@ extern crate webpki;
#[cfg(feature = "rust-tls")] #[cfg(feature = "rust-tls")]
extern crate webpki_roots; extern crate webpki_roots;
#[doc(hidden)] mod cell;
pub mod cell;
pub mod cloneable; pub mod cloneable;
pub mod codec; pub mod codec;
pub mod connector; pub mod connector;