diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-02 01:28:00 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-02 01:28:00 +0800 |
| commit | 1da9fc6103c06015942cf6c06f5fe015479c2706 (patch) | |
| tree | b54780eb313f03f68c438974f903815e21721154 /mingling_core | |
| parent | 7304115681d6c8160708bc82fd8b6566ed412bb5 (diff) | |
Restrict GlobalResources visibility to crate
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/src/asset/global_resource.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/asset/global_resource.rs b/mingling_core/src/asset/global_resource.rs index 5667576..efe4165 100644 --- a/mingling_core/src/asset/global_resource.rs +++ b/mingling_core/src/asset/global_resource.rs @@ -6,7 +6,7 @@ use std::{ use crate::{ChainProcess, Program, ProgramCollect}; -pub type GlobalResources = Arc<Mutex<HashMap<TypeId, Box<dyn Any + Sync + Send>>>>; +pub(crate) type GlobalResources = Arc<Mutex<HashMap<TypeId, Box<dyn Any + Sync + Send>>>>; impl<C> Program<C> where |
