Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns committed Mar 15, 2024
1 parent 0a258b5 commit bc0b086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thorium/src/tiktok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bc0b086

Please sign in to comment.