From 540e9e81f40ed4e3884fb2eeecc3043675da40cb Mon Sep 17 00:00:00 2001 From: genusistimelord Date: Fri, 17 May 2024 12:16:51 -0400 Subject: [PATCH] hide Bounded behind number_input feature --- src/widgets/helpers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/helpers.rs b/src/widgets/helpers.rs index 47202c10..19f07811 100644 --- a/src/widgets/helpers.rs +++ b/src/widgets/helpers.rs @@ -4,6 +4,7 @@ #[allow(unused_imports)] use iced::{self, advanced::renderer, Color, Element}; +#[cfg(feature = "number_input")] use num_traits::bounds::Bounded; #[allow(unused_imports)] use std::{borrow::Cow, fmt::Display, hash::Hash, ops::RangeBounds};