From 044c691a76daba62a6c08a3c8763ddc16a965264 Mon Sep 17 00:00:00 2001 From: "Michael X. Grey" Date: Thu, 6 Jun 2024 16:59:03 +0000 Subject: [PATCH] Fix style Signed-off-by: Michael X. Grey --- rmf_site_editor/src/site/model.rs | 5 ++++- rmf_site_format/src/asset_source.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rmf_site_editor/src/site/model.rs b/rmf_site_editor/src/site/model.rs index 4cf4fddf..01bed237 100644 --- a/rmf_site_editor/src/site/model.rs +++ b/rmf_site_editor/src/site/model.rs @@ -346,7 +346,10 @@ pub fn update_model_tentative_formats( _ => "Failed parsing file".to_owned(), } }; - warn!("Failed loading Model with source {}: {}", asset_path, reason); + warn!( + "Failed loading Model with source {}: {}", + asset_path, reason + ); cmd.remove::(); } } diff --git a/rmf_site_format/src/asset_source.rs b/rmf_site_format/src/asset_source.rs index 0913e210..569db7db 100644 --- a/rmf_site_format/src/asset_source.rs +++ b/rmf_site_format/src/asset_source.rs @@ -18,8 +18,8 @@ use crate::*; #[cfg(feature = "bevy")] use bevy::{ - prelude::{Component, Reflect, ReflectComponent}, asset::{AssetPath, ParseAssetPathError}, + prelude::{Component, Reflect, ReflectComponent}, }; use pathdiff::diff_paths; use serde::{Deserialize, Serialize};