summaryrefslogtreecommitdiffstats
path: root/wgpu/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-28 14:41:07 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-28 14:41:07 +0100
commit88d4cd097044077127e1b3aa8fcb04afed185491 (patch)
treedb82ee28634d499749816f69eaac4f303d088c14 /wgpu/src
parent4e7159c22c6be90f61aa715d5eb6811f805cb597 (diff)
downloadiced-88d4cd097044077127e1b3aa8fcb04afed185491.tar.gz
iced-88d4cd097044077127e1b3aa8fcb04afed185491.tar.bz2
iced-88d4cd097044077127e1b3aa8fcb04afed185491.zip
Remove unnecessary `pub(crate) use`
Diffstat (limited to '')
-rw-r--r--wgpu/src/lib.rs3
-rw-r--r--wgpu/src/renderer.rs2
2 files changed, 1 insertions, 4 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs
index 1d63abbf..4e0cbc60 100644
--- a/wgpu/src/lib.rs
+++ b/wgpu/src/lib.rs
@@ -55,6 +55,3 @@ pub(crate) use transformation::Transformation;
#[cfg(any(feature = "image", feature = "svg"))]
mod image;
-
-#[cfg(any(feature = "image", feature = "svg"))]
-pub(crate) use self::image::Image;
diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs
index d9ef9fc4..1da19b1a 100644
--- a/wgpu/src/renderer.rs
+++ b/wgpu/src/renderer.rs
@@ -4,7 +4,7 @@ use crate::{
};
#[cfg(any(feature = "image", feature = "svg"))]
-use crate::{image, Image};
+use crate::image::{self, Image};
use iced_native::{
layout, Background, Color, Layout, MouseCursor, Point, Rectangle, Vector,