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.
This commit is contained in:
Carter Anderson 2021-05-06 23:25:16 +00:00
parent 7d0e98f34c
commit ce6dda2d4e

View File

@ -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()