mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
fix: Clippy lints
This commit is contained in:
1 parent
1a5c068170
commit
a93803ac9a
1 file changed
+1
-1
@@ -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