1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-06 02:02:10 +00: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>>,