fix: Clippy lints

This commit is contained in:
Trash Panda
2026-03-09 13:27:39 +00:00
committed by Ellis Git
parent 7f165e5bbe
commit 9039784f41
+1 -1
View File
@@ -238,7 +238,7 @@ pub async fn download_media(&self, url: &str) -> Result<(OwnedMxcUri, usize)> {
self.create(&mxc, None, None, None, &media).await?; self.create(&mxc, None, None, None, &media).await?;
return Ok((OwnedMxcUri::from(mxc.to_string()), media.len())); Ok((OwnedMxcUri::from(mxc.to_string()), media.len()))
} }
#[cfg(not(feature = "url_preview"))] #[cfg(not(feature = "url_preview"))]