fix to compile on rust stable

This commit is contained in:
mat 2024-05-24 00:00:31 +00:00
parent b68e744680
commit 2285ee611a

View File

@ -81,11 +81,11 @@ fn render_engine_progress_update(
time_ms: u64, time_ms: u64,
) -> String { ) -> String {
let message = match progress_update { let message = match progress_update {
EngineProgressUpdate::Requesting => "requesting", EngineProgressUpdate::Requesting => "requesting".to_string(),
EngineProgressUpdate::Downloading => "downloading", EngineProgressUpdate::Downloading => "downloading".to_string(),
EngineProgressUpdate::Parsing => "parsing", EngineProgressUpdate::Parsing => "parsing".to_string(),
EngineProgressUpdate::Done => { EngineProgressUpdate::Done => {
&{ html! { span."progress-update-done" { "done" } }.into_string() } html! { span."progress-update-done" { "done" } }.into_string()
} }
}; };