make some enums non-exhaustive (#2140)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-03-26 19:14:48 -07:00
1 parent 460a685fa3
commit dadbab5d72
16 files changed
+28 -11

No files matched your search

+1
View File
@@ -105,6 +105,7 @@ impl Build {
)?
}
}
_ => unreachable!(),
};
let temp = gen_page(&crate_config, build_result.assets.as_ref(), false);
+1
View File
@@ -68,6 +68,7 @@ impl Serve {
Platform::Web => web::startup(crate_config.clone(), &serve_cfg).await?,
Platform::Desktop => desktop::startup(crate_config.clone(), &serve_cfg).await?,
Platform::Fullstack => fullstack::startup(crate_config.clone(), &serve_cfg).await?,
_ => unreachable!(),
}
Ok(())