mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
fix session doc test
This commit is contained in:
parent
48e7013997
commit
b505e682d4
@ -121,9 +121,8 @@ unsafe impl Sync for SessionImplBox {}
|
||||
/// fn main() {
|
||||
/// let app = App::new().middleware(
|
||||
/// SessionStorage::new( // <- create session middleware
|
||||
/// CookieSessionBackend::build(&[0; 32]) // <- create cookie session backend
|
||||
/// .secure(false)
|
||||
/// .finish())
|
||||
/// CookieSessionBackend::new(&[0; 32]) // <- create cookie session backend
|
||||
/// .secure(false))
|
||||
/// );
|
||||
/// }
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user