Skip to content

Commit

Permalink
Fix selection_list feature flag being on an import
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb651 committed Aug 14, 2023
1 parent 3625c14 commit 62c104d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/native/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#[allow(unused_imports)]
use iced_widget::core::{self, Color, Element};
#[allow(unused_imports)]
use std::{borrow::Cow, hash::Hash};
use std::{borrow::Cow, hash::Hash, fmt::Display};

/// Creates a [`Grid`] with the given children.
///
Expand Down Expand Up @@ -298,7 +298,6 @@ where
}

#[cfg(feature = "selection_list")]
use std::fmt::Display;
/// Shortcut helper to create a [`SelectionList`] Widget.
///
/// [`SelectionList`]: crate::SelectionList
Expand Down

0 comments on commit 62c104d

Please sign in to comment.