fix to compile on rust stable
This commit is contained in:
parent
b68e744680
commit
2285ee611a
@ -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()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user