Skip to content

Commit ce6dda2

Browse files
committed
fix new "inconsistent struct constructor" lint (#2127)
Not super sold on the rationale behind this one, but we can revisit if it ever becomes painful.
1 parent 7d0e98f commit ce6dda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_asset/src/loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ impl<T: AssetDynamic> AssetLifecycle for AssetLifecycleChannel<T> {
175175
if let Ok(asset) = asset.downcast::<T>() {
176176
self.sender
177177
.send(AssetLifecycleEvent::Create(AssetResult {
178-
id,
179178
asset,
179+
id,
180180
version,
181181
}))
182182
.unwrap()

0 commit comments

Comments
 (0)