Skip to content

Commit

Permalink
fix new "inconsistent struct constructor" lint (#2127)
Browse files Browse the repository at this point in the history
Not super sold on the rationale behind this one, but we can revisit if it ever becomes painful.
  • Loading branch information
cart committed May 6, 2021
1 parent 7d0e98f commit ce6dda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_asset/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ impl<T: AssetDynamic> AssetLifecycle for AssetLifecycleChannel<T> {
if let Ok(asset) = asset.downcast::<T>() {
self.sender
.send(AssetLifecycleEvent::Create(AssetResult {
id,
asset,
id,
version,
}))
.unwrap()
Expand Down

0 comments on commit ce6dda2

Please sign in to comment.