From 2285ee611a23603e60a496ada382f6391efffe72 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 24 May 2024 00:00:31 +0000 Subject: [PATCH] fix to compile on rust stable --- src/web/search.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/search.rs b/src/web/search.rs index 626678e..3553d38 100644 --- a/src/web/search.rs +++ b/src/web/search.rs @@ -81,11 +81,11 @@ fn render_engine_progress_update( time_ms: u64, ) -> String { let message = match progress_update { - EngineProgressUpdate::Requesting => "requesting", - EngineProgressUpdate::Downloading => "downloading", - EngineProgressUpdate::Parsing => "parsing", + EngineProgressUpdate::Requesting => "requesting".to_string(), + EngineProgressUpdate::Downloading => "downloading".to_string(), + EngineProgressUpdate::Parsing => "parsing".to_string(), EngineProgressUpdate::Done => { - &{ html! { span."progress-update-done" { "done" } }.into_string() } + html! { span."progress-update-done" { "done" } }.into_string() } };