summaryrefslogtreecommitdiffstats
path: root/widget/src
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-01-06 23:09:15 +0100
committerLibravatar GitHub <noreply@github.com>2025-01-06 23:09:15 +0100
commit717b296cdb17f22b410e2985b58e73af2199bfcc (patch)
tree6be1fe93925ea087e4f042119cc52a9e70c40d21 /widget/src
parent634365564ea2bb2284561e8d300cf77a6f7db565 (diff)
parent2b8b3fd413b03d6b79f1de90bd42eb43c5cd6aa0 (diff)
downloadiced-717b296cdb17f22b410e2985b58e73af2199bfcc.tar.gz
iced-717b296cdb17f22b410e2985b58e73af2199bfcc.tar.bz2
iced-717b296cdb17f22b410e2985b58e73af2199bfcc.zip
Merge pull request #2626 from tvolk131/remove_once_cell
chore: remove once_cell dependency
Diffstat (limited to 'widget/src')
-rw-r--r--widget/src/helpers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index cdfd2daf..5a0f8107 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -1708,9 +1708,9 @@ where
{
use crate::core::{Alignment, Font};
use crate::svg;
- use once_cell::sync::Lazy;
+ use std::sync::LazyLock;
- static LOGO: Lazy<svg::Handle> = Lazy::new(|| {
+ static LOGO: LazyLock<svg::Handle> = LazyLock::new(|| {
svg::Handle::from_memory(include_bytes!("../assets/iced-logo.svg"))
});