mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-15 11:48:57 -05:00
fix edition 2024 lints
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
cbf207bd1f
commit
a67ab75417
36 changed files with 60 additions and 72 deletions
|
|
@ -283,7 +283,7 @@ async fn location_request(&self, location: &str) -> Result<FileMeta> {
|
|||
.map_err(Into::into)
|
||||
.map(|content| FileMeta {
|
||||
content: Some(content),
|
||||
content_type: content_type.clone().map(Into::into),
|
||||
content_type: content_type.clone(),
|
||||
content_disposition: Some(make_content_disposition(
|
||||
content_disposition.as_ref(),
|
||||
content_type.as_deref(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue