From c6df6d6746acfcc4ca3e862361992c05fc7c43f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Thebault?= Date: Wed, 25 Feb 2026 21:59:35 +0100 Subject: [PATCH] fix warning --- iced/src/show.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iced/src/show.rs b/iced/src/show.rs index 8a5cf3c..7ff62c8 100644 --- a/iced/src/show.rs +++ b/iced/src/show.rs @@ -5,7 +5,9 @@ use std::sync::Arc; use iced::widget::{button, column, mouse_area, row, space, text}; use iced::{Alignment, Length, mouse}; -use iced_font_awesome::{fa_icon, fa_icon_solid}; +#[cfg(feature = "clipboard")] +use iced_font_awesome::fa_icon; +use iced_font_awesome::fa_icon_solid; use plotive::drawing::zoom; use plotive::{Prepare, data, des, drawing, fontdb, geom};