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,
) -> 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()
}
};