File tree Expand file tree Collapse file tree
crates/bevy_asset/src/server Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ( ) ) ;
You can’t perform that action at this time.
0 commit comments