feat(registry): const initialization meaning no necessary lazy_static

This commit is contained in:
Nova
2022-08-17 19:28:52 -04:00
parent 85077146d3
commit c272cfaed1
7 changed files with 17 additions and 28 deletions

View File

@@ -74,7 +74,7 @@ impl Node {
destroyable: AtomicBool::from(destroyable),
alias: OnceCell::new(),
aliases: Default::default(),
aliases: Registry::new(),
spatial: OnceCell::new(),
field: OnceCell::new(),