summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-20 18:35:18 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-20 18:37:17 +0200
commit91c00e4abf0a21c2b10535a1672e017249cfbcee (patch)
tree04fa2cf17e3529981e5ed952f8d8f5ad50b64e4d /examples
parent53f88fe2cf5de51aa1ffa043600cc2c467b8c8b8 (diff)
downloadiced-91c00e4abf0a21c2b10535a1672e017249cfbcee.tar.gz
iced-91c00e4abf0a21c2b10535a1672e017249cfbcee.tar.bz2
iced-91c00e4abf0a21c2b10535a1672e017249cfbcee.zip
Move `wgpu` re-export to root module
This seems to fix a `cargo doc` performance issue; and it makes more sense anyways.
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_shader/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs
index 5886f6bb..8c187d3c 100644
--- a/examples/custom_shader/src/main.rs
+++ b/examples/custom_shader/src/main.rs
@@ -3,7 +3,7 @@ mod scene;
use scene::Scene;
use iced::time::Instant;
-use iced::widget::shader::wgpu;
+use iced::wgpu;
use iced::widget::{center, checkbox, column, row, shader, slider, text};
use iced::window;
use iced::{Center, Color, Element, Fill, Subscription};