chore: remove once_cell dependency
This commit is contained in:
parent
b156087fcf
commit
0e8c3fe30f
20 changed files with 80 additions and 96 deletions
|
|
@ -157,9 +157,9 @@ impl Example {
|
|||
}
|
||||
}
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
use std::sync::LazyLock;
|
||||
|
||||
static OUTER_CONTAINER: Lazy<container::Id> =
|
||||
Lazy::new(|| container::Id::new("outer"));
|
||||
static INNER_CONTAINER: Lazy<container::Id> =
|
||||
Lazy::new(|| container::Id::new("inner"));
|
||||
static OUTER_CONTAINER: LazyLock<container::Id> =
|
||||
LazyLock::new(|| container::Id::new("outer"));
|
||||
static INNER_CONTAINER: LazyLock<container::Id> =
|
||||
LazyLock::new(|| container::Id::new("inner"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue