fix: Clippy lints
This commit is contained in:
parent
7f165e5bbe
commit
9039784f41
1 changed files with 1 additions and 1 deletions
|
|
@ -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"))]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue