From bc0b0867d938c8bf027ec224b1aed9b859e7f135 Mon Sep 17 00:00:00 2001 From: AnnsAnn Date: Fri, 15 Mar 2024 16:50:31 +0100 Subject: [PATCH] Make clippy happy --- thorium/src/tiktok.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thorium/src/tiktok.rs b/thorium/src/tiktok.rs index 5afd7db..05eb5b6 100644 --- a/thorium/src/tiktok.rs +++ b/thorium/src/tiktok.rs @@ -39,7 +39,7 @@ pub fn is_tiktok_url(url: &str) -> bool { } pub async fn convert_url(url: String, from: UrlType, to: UrlType) -> String { - return clear_url(url).await.replace(from.as_str(), to.as_str()); + clear_url(url).await.replace(from.as_str(), to.as_str()) } pub async fn convert_url_lazy(url: String, to: UrlType) -> String {