mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
Merge pull request #436 from diogocanut/fix-useless-use-of-format!
🛠️ Useless use of `format!` (cargo clippy warning)
This commit is contained in:
commit
2b41fb9735
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -4066,7 +4066,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websurfx"
|
name = "websurfx"
|
||||||
version = "1.5.2"
|
version = "1.5.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-cors",
|
"actix-cors",
|
||||||
"actix-files",
|
"actix-files",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "websurfx"
|
name = "websurfx"
|
||||||
version = "1.5.2"
|
version = "1.5.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
||||||
repository = "https://github.com/neon-mmd/websurfx"
|
repository = "https://github.com/neon-mmd/websurfx"
|
||||||
|
@ -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"],
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user