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:
parent
7d0e98f34c
commit
ce6dda2d4e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user