mirror of
https://github.com/actix/actix-web.git
synced 2025-01-01 21:08:43 +00:00
do not export cell
This commit is contained in:
parent
5937a06ebe
commit
36a15efeac
2 changed files with 2 additions and 4 deletions
|
@ -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"))]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue