fix clippy

This commit is contained in:
Evan Almloff committed 2023-07-18 12:43:02 -07:00
1 parent 4a0869de7b
commit f3b3c0698b
4 files changed
+12 -18

No files matched your search

+2 -2
View File
@@ -473,7 +473,7 @@ async fn ws_handler(
}
fn build(config: &CrateConfig, reload_tx: &Sender<()>) -> Result<BuildResult> {
let result = builder::build(&config, true)?;
let result = builder::build(config, true)?;
// change the websocket reload state to true;
// the page will auto-reload.
if config
@@ -483,7 +483,7 @@ fn build(config: &CrateConfig, reload_tx: &Sender<()>) -> Result<BuildResult> {
.reload_html
.unwrap_or(false)
{
let _ = Serve::regen_dev_page(&config);
let _ = Serve::regen_dev_page(config);
}
let _ = reload_tx.send(());
Ok(result)