Diogo Canut commited on
Commit
c6ae86d
1 Parent(s): 397a805

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

Browse files
Files changed (1) hide show
  1. src/engines/startpage.rs +1 -1
src/engines/startpage.rs CHANGED
@@ -87,7 +87,7 @@ impl SearchEngine for Startpage {
87
  .parse_for_results(&document, |title, url, desc| {
88
  Some(SearchResult::new(
89
  title.inner_html().trim(),
90
- &format!("{}", url.inner_html().trim()),
91
  desc.inner_html().trim(),
92
  &["startpage"],
93
  ))
 
87
  .parse_for_results(&document, |title, url, desc| {
88
  Some(SearchResult::new(
89
  title.inner_html().trim(),
90
+ url.inner_html().trim(),
91
  desc.inner_html().trim(),
92
  &["startpage"],
93
  ))