aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-24 06:58:09 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-24 06:58:09 +0800
commitdc13fa58448b7e267fb0ba63427534127f76beca (patch)
tree7219f10bf3da22fdbe2cf4f41719505dcb75d6d2 /mingling_core/src/asset
parentdd6253ba8c37b51927ab4dc0e71f5b3a264f36b3 (diff)
Move flag tests to separate module and clean up deref patterns
Diffstat (limited to 'mingling_core/src/asset')
-rw-r--r--mingling_core/src/asset/dispatcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/asset/dispatcher.rs b/mingling_core/src/asset/dispatcher.rs
index 1652ced..8f04955 100644
--- a/mingling_core/src/asset/dispatcher.rs
+++ b/mingling_core/src/asset/dispatcher.rs
@@ -356,7 +356,7 @@ mod tests {
fn test_dispatchers_deref() {
let disp = MockDispatcher { name: "test" };
let dispatchers: Dispatchers<MockG> = Dispatchers::from((disp,));
- let inner: &Vec<Box<dyn Dispatcher<MockG> + Send + Sync + 'static>> = &*dispatchers;
+ let inner: &Vec<Box<dyn Dispatcher<MockG> + Send + Sync + 'static>> = &dispatchers;
assert_eq!(inner.len(), 1);
}