diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-29 15:00:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-29 15:00:09 +0800 |
| commit | 586c206e50bb8e9a1376f65975f1c9916b1cde7e (patch) | |
| tree | 7d416ad11b65ab27d3dbf056dfccc1c1cfcde4c4 /mingling/src/asset/dispatcher.rs | |
| parent | 338361a8fca469745454e0f067c93739542d4ff0 (diff) | |
Apply clippy fixes
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 } } |
