diff --git a/crates/bevy_rpack/src/plugin.rs b/crates/bevy_rpack/src/plugin.rs index 878470d..0c3f7bc 100644 --- a/crates/bevy_rpack/src/plugin.rs +++ b/crates/bevy_rpack/src/plugin.rs @@ -49,10 +49,7 @@ pub trait RpackAssetHelper { /// Creates a [`Sprite`] component for the given atlas key, if available in any of the loaded Atlases. fn try_make_sprite>(&self, key: T) -> Result; /// Creates a [`ImageNode`] component for the given atlas key, if available in any of the loaded Atlases. - fn try_make_image_node>( - &self, - key: T, - ) -> Result; + fn try_make_image_node>(&self, key: T) -> Result; /// Provides list of all loaded atlas data keys fn atlas_data_keys(&self) -> Vec<&str>; @@ -91,10 +88,7 @@ impl RpackAssetHelper for Assets { Err(RpackAtlasError::WrongKey) } - fn try_make_image_node>( - &self, - key: T, - ) -> Result { + fn try_make_image_node>(&self, key: T) -> Result { if self.is_empty() { return Err(RpackAtlasError::NoAtlas); }