From ab2659931f37f4046e61a5ee9cc7e35fb9c101ba Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Wed, 1 Nov 2023 21:20:27 +0100 Subject: [PATCH] Format --- bevy_asset_loader_derive/src/assets.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bevy_asset_loader_derive/src/assets.rs b/bevy_asset_loader_derive/src/assets.rs index bc0db03..a4f7665 100644 --- a/bevy_asset_loader_derive/src/assets.rs +++ b/bevy_asset_loader_derive/src/assets.rs @@ -539,13 +539,13 @@ impl AssetBuilder { } if self.key.is_some() && (self.asset_path.is_some() - || self.asset_paths.is_some() - || missing_fields.len() < 4 - || self.padding_x.is_some() - || self.padding_y.is_some() - || self.offset_x.is_some() - || self.offset_y.is_some() - || self.is_standard_material) + || self.asset_paths.is_some() + || missing_fields.len() < 4 + || self.padding_x.is_some() + || self.padding_y.is_some() + || self.offset_x.is_some() + || self.offset_y.is_some() + || self.is_standard_material) { return Err(vec![ParseFieldError::KeyAttributeStandsAlone]); }