chore: Run rust format

This commit is contained in:
SleeplessOne1917 2023-09-22 21:39:03 -04:00
parent 519e800b33
commit 3a76a10931

View file

@ -3,14 +3,17 @@ use actix_web::{
cookie::SameSite, cookie::SameSite,
dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform}, dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform},
http::header::{Header, CACHE_CONTROL}, http::header::{Header, CACHE_CONTROL},
Error, HttpMessage, Error,
HttpMessage,
}; };
use actix_web_httpauth::headers::authorization::{Authorization, Bearer}; use actix_web_httpauth::headers::authorization::{Authorization, Bearer};
use chrono::{DateTime, Utc}; use chrono::{DateTime, Utc};
use core::future::Ready; use core::future::Ready;
use futures_util::future::LocalBoxFuture; use futures_util::future::LocalBoxFuture;
use lemmy_api_common::{ 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_db_schema::newtypes::LocalUserId;
use lemmy_utils::{ use lemmy_utils::{