fix lints

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-03-22 07:09:11 +00:00
parent d1b82ea225
commit 9d0ce3965e
3 changed files with 3 additions and 3 deletions

View file

@ -256,7 +256,7 @@ pub fn url_preview_allowed(&self, url: &Url) -> bool {
if allowlist_url_contains
.iter()
.any(|url_s| url.to_string().contains(&url_s.to_string()))
.any(|url_s| url.to_string().contains(url_s))
{
debug!("URL {} is allowed by url_preview_url_contains_allowlist (check 4/4)", &host);
return true;