mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Clippy lints
This commit is contained in:
@@ -238,7 +238,7 @@ pub async fn download_media(&self, url: &str) -> Result<(OwnedMxcUri, usize)> {
|
||||
|
||||
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"))]
|
||||
|
||||
Reference in New Issue
Block a user