0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 06:22:53 -04:00

Fix: useless use of format! (cargo clippy warning)

This commit is contained in:
Diogo Canut 2023-12-10 21:34:10 -03:00
parent 397a805ffd
commit c6ae86dbb4

View File

@ -87,7 +87,7 @@ impl SearchEngine for Startpage {
.parse_for_results(&document, |title, url, desc| { .parse_for_results(&document, |title, url, desc| {
Some(SearchResult::new( Some(SearchResult::new(
title.inner_html().trim(), title.inner_html().trim(),
&format!("{}", url.inner_html().trim()), url.inner_html().trim(),
desc.inner_html().trim(), desc.inner_html().trim(),
&["startpage"], &["startpage"],
)) ))