1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-09-09 05:08:32 +00: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))
/// );
/// }
/// ```