From 0e8c3fe30fd7c9a9ff54d2f6d75324575df5511a Mon Sep 17 00:00:00 2001 From: Tommy Volk Date: Thu, 3 Oct 2024 22:27:25 -0500 Subject: chore: remove once_cell dependency --- examples/visible_bounds/src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/visible_bounds/src/main.rs') 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 = - Lazy::new(|| container::Id::new("outer")); -static INNER_CONTAINER: Lazy = - Lazy::new(|| container::Id::new("inner")); +static OUTER_CONTAINER: LazyLock = + LazyLock::new(|| container::Id::new("outer")); +static INNER_CONTAINER: LazyLock = + LazyLock::new(|| container::Id::new("inner")); -- cgit