diff options
Diffstat (limited to 'examples/visible_bounds/src/main.rs')
| -rw-r--r-- | examples/visible_bounds/src/main.rs | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/examples/visible_bounds/src/main.rs b/examples/visible_bounds/src/main.rs index 77fec65e..f8f9f420 100644 --- a/examples/visible_bounds/src/main.rs +++ b/examples/visible_bounds/src/main.rs @@ -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")); | 
