🚑 Fix old use of LazyStatic
This commit is contained in:
parent
9cfada4f5d
commit
e157576581
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ macro_rules! static_files {
|
|||
mod [<static_files_ $bundle>] {
|
||||
include!(concat!(env!("OUT_DIR"), "/", stringify!($bundle), ".rs"));
|
||||
}
|
||||
static $STATIC: LazyStatic<HashMapResources> = LazyStatic::new([
|
||||
<static_files_ $bundle>]::$bundle
|
||||
static $STATIC: std::sync::LazyLock<HashMapResources> = std::sync::LazyLock::new(
|
||||
[<static_files_ $bundle>]::$bundle
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue