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};