diff options
Diffstat (limited to 'mingling/src/asset/dispatcher.rs')
| -rw-r--r-- | mingling/src/asset/dispatcher.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mingling/src/asset/dispatcher.rs b/mingling/src/asset/dispatcher.rs index 09bd386..13e35f7 100644 --- a/mingling/src/asset/dispatcher.rs +++ b/mingling/src/asset/dispatcher.rs @@ -188,8 +188,8 @@ impl std::ops::Deref for Dispatchers { } } -impl Into<Vec<Box<dyn Dispatcher + 'static>>> for Dispatchers { - fn into(self) -> Vec<Box<dyn Dispatcher + 'static>> { - self.dispatcher +impl From<Dispatchers> for Vec<Box<dyn Dispatcher + 'static>> { + fn from(val: Dispatchers) -> Self { + val.dispatcher } } |
