0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 12:28: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:
alamin655 2023-12-11 09:40:10 +05:30 committed by GitHub
commit 2b41fb9735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -4066,7 +4066,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
[[package]]
name = "websurfx"
version = "1.5.2"
version = "1.5.3"
dependencies = [
"actix-cors",
"actix-files",

View File

@ -1,6 +1,6 @@
[package]
name = "websurfx"
version = "1.5.2"
version = "1.5.3"
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."
repository = "https://github.com/neon-mmd/websurfx"

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"],
))