Skip to content

Commit 90a37d4

Browse files
committed
style: Reformat.
1 parent 1f35541 commit 90a37d4

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

crates/bevy_asset/src/server/info.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,10 @@ impl AssetInfos {
519519
if loader_dependency != asset_path {
520520
dependents.insert(asset_path.clone());
521521
} else {
522-
warn!("Asset '{:?}' wants to treat itself as a dependency", &asset_path);
522+
warn!(
523+
"Asset '{:?}' wants to treat itself as a dependency",
524+
&asset_path
525+
);
523526
}
524527
}
525528
}

crates/bevy_asset/src/server/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,10 @@ pub fn handle_internal_asset_events(world: &mut World) {
17831783
if let Some(dependents) = infos.loader_dependents.get(asset_path) {
17841784
for dependent in dependents {
17851785
if asset_path == dependent {
1786-
warn!("The asset path '{:?}' contains itself as a dependent", asset_path);
1786+
warn!(
1787+
"The asset path '{:?}' contains itself as a dependent",
1788+
asset_path
1789+
);
17871790
continue;
17881791
}
17891792
paths_to_reload.insert(dependent.to_owned());

0 commit comments

Comments
 (0)