From 3a76a10931bd39747253225ce625d1c9cb65b227 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Fri, 22 Sep 2023 21:39:03 -0400 Subject: [PATCH] chore: Run rust format --- src/session_middleware.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/session_middleware.rs b/src/session_middleware.rs index e17f597e6..218ed863e 100644 --- a/src/session_middleware.rs +++ b/src/session_middleware.rs @@ -3,14 +3,17 @@ use actix_web::{ cookie::SameSite, dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform}, http::header::{Header, CACHE_CONTROL}, - Error, HttpMessage, + Error, + HttpMessage, }; use actix_web_httpauth::headers::authorization::{Authorization, Bearer}; use chrono::{DateTime, Utc}; use core::future::Ready; use futures_util::future::LocalBoxFuture; use lemmy_api_common::{ - context::LemmyContext, lemmy_db_views::structs::LocalUserView, utils::check_user_valid, + context::LemmyContext, + lemmy_db_views::structs::LocalUserView, + utils::check_user_valid, }; use lemmy_db_schema::newtypes::LocalUserId; use lemmy_utils::{