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>() {
|
if let Ok(asset) = asset.downcast::<T>() {
|
||||||
self.sender
|
self.sender
|
||||||
.send(AssetLifecycleEvent::Create(AssetResult {
|
.send(AssetLifecycleEvent::Create(AssetResult {
|
||||||
id,
|
|
||||||
asset,
|
asset,
|
||||||
|
id,
|
||||||
version,
|
version,
|
||||||
}))
|
}))
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
Loading…
Reference in New Issue
Block a user