mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 22:20:19 +00:00
fix clippy
This commit is contained in:
parent
1a36409922
commit
4ee2bc259d
2 changed files with 3 additions and 3 deletions
|
@ -354,7 +354,7 @@ pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<BuildResul
|
|||
// Collect assets
|
||||
process_assets(config)?;
|
||||
// Create the __assets_head.html file for bundling
|
||||
create_assets_head(&config)?;
|
||||
create_assets_head(config)?;
|
||||
|
||||
log::info!(
|
||||
"🚩 Build completed: [./{}]",
|
||||
|
@ -727,7 +727,7 @@ fn process_assets(config: &CrateConfig) -> anyhow::Result<()> {
|
|||
);
|
||||
let static_asset_output_dir = config.out_dir.join(static_asset_output_dir);
|
||||
|
||||
manifest.copy_static_assets_to(&static_asset_output_dir)?;
|
||||
manifest.copy_static_assets_to(static_asset_output_dir)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ impl Serve {
|
|||
}
|
||||
|
||||
pub fn regen_dev_page(crate_config: &CrateConfig) -> Result<()> {
|
||||
let serve_html = gen_page(&crate_config, true);
|
||||
let serve_html = gen_page(crate_config, true);
|
||||
|
||||
let dist_path = crate_config.crate_dir.join(
|
||||
crate_config
|
||||
|
|
Loading…
Reference in a new issue