summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/widget/container.rs')
-rw-r--r--graphics/src/widget/container.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/src/widget/container.rs b/graphics/src/widget/container.rs
index 811a0c7f..c4c4e5ba 100644
--- a/graphics/src/widget/container.rs
+++ b/graphics/src/widget/container.rs
@@ -1,6 +1,5 @@
//! Decorate content and apply alignment.
-use crate::container;
-use crate::{Backend, Renderer};
+use crate::Renderer;
pub use iced_style::container::{Style, StyleSheet};
@@ -10,10 +9,3 @@ pub use iced_style::container::{Style, StyleSheet};
/// `Renderer`.
pub type Container<'a, Message, Backend> =
iced_native::Container<'a, Message, Renderer<Backend>>;
-
-impl<B> iced_native::container::Renderer for Renderer<B>
-where
- B: Backend,
-{
- type Style = Box<dyn container::StyleSheet>;
-}