mirror of
https://github.com/actix/actix-web.git
synced 2025-03-01 17:11:03 +00:00
fix session doc test
This commit is contained in:
parent
48e7013997
commit
b505e682d4
1 changed files with 2 additions and 3 deletions
|
@ -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 a new issue