mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
fix: Style errors and compile problems
This commit is contained in:
2 files changed
+2
-7
No files matched your search
@@ -123,7 +123,6 @@ impl Service {
|
||||
}
|
||||
|
||||
#[cfg(feature = "url_preview")]
|
||||
|
||||
pub async fn download_image(
|
||||
&self,
|
||||
url: &str,
|
||||
@@ -179,7 +178,6 @@ impl Service {
|
||||
}
|
||||
|
||||
#[cfg(feature = "url_preview")]
|
||||
|
||||
pub async fn download_video(
|
||||
&self,
|
||||
url: &str,
|
||||
@@ -197,7 +195,6 @@ impl Service {
|
||||
}
|
||||
|
||||
#[cfg(feature = "url_preview")]
|
||||
|
||||
pub async fn download_audio(
|
||||
&self,
|
||||
url: &str,
|
||||
@@ -215,7 +212,6 @@ impl Service {
|
||||
}
|
||||
|
||||
#[cfg(feature = "url_preview")]
|
||||
|
||||
pub async fn download_media(&self, url: &str) -> Result<(OwnedMxcUri, usize)> {
|
||||
use conduwuit::utils::random_string;
|
||||
use http::header::CONTENT_TYPE;
|
||||
@@ -278,7 +274,6 @@ impl Service {
|
||||
}
|
||||
|
||||
#[cfg(feature = "url_preview")]
|
||||
|
||||
async fn download_html(&self, url: &str) -> Result<UrlPreviewData> {
|
||||
use webpage::HTML;
|
||||
|
||||
|
||||
Reference in new issue
Block a user