From c02037628e36e71e528b3c76ffb88dc103d73228 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 6 Dec 2021 20:49:58 +0300 Subject: Make rustfmt and clippy happy --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index eb915c2..2b4d1cc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,10 +75,10 @@ where app.with( tide::sessions::SessionMiddleware::new( tide::sessions::CookieStore::new(), - &app.state().cookie_secret.as_bytes() + app.state().cookie_secret.as_bytes(), ) - .with_cookie_name("kittybox_session") - .without_save_unchanged() + .with_cookie_name("kittybox_session") + .without_save_unchanged(), ); app } -- cgit 1.4.1