0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-25 07:28:22 -05: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| {
Some(SearchResult::new(
title.inner_html().trim(),
&format!("{}", url.inner_html().trim()),
url.inner_html().trim(),
desc.inner_html().trim(),
&["startpage"],
))