1
0
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:
Nikolay Kim 2018-04-09 09:31:11 -07:00
parent 48e7013997
commit b505e682d4

View File

@ -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))
/// );
/// }
/// ```