Update style edition to 2024

This commit is contained in:
Lambda 2025-02-21 20:45:58 +00:00
parent 6e0152d4e5
commit a4355fe8aa
121 changed files with 367 additions and 335 deletions

View file

@ -2,10 +2,10 @@ use std::time::Duration;
use axum::response::IntoResponse;
use http::{
header::{CONTENT_DISPOSITION, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
HeaderName, HeaderValue, Method,
header::{CONTENT_DISPOSITION, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
};
use phf::{phf_set, Set};
use phf::{Set, phf_set};
use ruma::{
api::{
client::{
@ -20,10 +20,10 @@ use ruma::{
use tracing::{debug, error, info, warn};
use crate::{
Ar, Error, Ra, Result,
service::media::FileMeta,
services,
utils::{self, MxcData},
Ar, Error, Ra, Result,
};
const MXC_LENGTH: usize = 32;