1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-20 12:45:41 +02:00

clippy warnings; extend url_for example in user guide

This commit is contained in:
Nikolay Kim
2018-04-09 13:30:38 -07:00
parent 458e6bdcc2
commit 7df2d6b12a
3 changed files with 36 additions and 30 deletions

View File

@@ -276,8 +276,8 @@ impl CookieSessionInner {
fn new(key: &[u8], security: CookieSecurity) -> CookieSessionInner {
CookieSessionInner {
security,
key: Key::from_master(key),
security: security,
name: "actix-session".to_owned(),
path: "/".to_owned(),
domain: None,