1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

update doc api

This commit is contained in:
Nikolay Kim 2019-03-09 20:48:05 -08:00
parent 12f0c78091
commit be9031c55e

View File

@ -10,8 +10,7 @@
//! uses cookies as identity storage.
//!
//! To access current request identity
//! [**RequestIdentity**](trait.RequestIdentity.html) should be used.
//! *HttpRequest* implements *RequestIdentity* trait.
//! [**Identity**](trait.Identity.html) extractor should be used.
//!
//! ```rust
//! use actix_web::middleware::identity::Identity;
@ -226,6 +225,7 @@ where
}
}
#[doc(hidden)]
pub struct IdentityServiceMiddleware<S, T> {
backend: Rc<T>,
service: Rc<RefCell<S>>,