mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-27 07:19:04 +02:00
- Re-export actix's prelude into actix namespace - Removing implicit dependency on root's actix module
This commit is contained in:
@ -143,7 +143,6 @@ pub trait IdentityPolicy<S>: Sized + 'static {
|
||||
/// Request identity middleware
|
||||
///
|
||||
/// ```rust
|
||||
/// # extern crate actix;
|
||||
/// # extern crate actix_web;
|
||||
/// use actix_web::App;
|
||||
/// use actix_web::middleware::identity::{IdentityService, CookieIdentityPolicy};
|
||||
|
@ -229,7 +229,6 @@ unsafe impl Sync for SessionImplCell {}
|
||||
/// Session storage middleware
|
||||
///
|
||||
/// ```rust
|
||||
/// # extern crate actix;
|
||||
/// # extern crate actix_web;
|
||||
/// use actix_web::App;
|
||||
/// use actix_web::middleware::session::{SessionStorage, CookieSessionBackend};
|
||||
|
Reference in New Issue
Block a user