WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 98113ec

Browse files
committed
Removed explicit derefs.
1 parent 784014f commit 98113ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ impl IcedProps {
174174
.get_resource::<RenderDevice>()
175175
.unwrap()
176176
.wgpu_device();
177-
let queue = render_world.get_resource::<RenderQueue>().unwrap();
177+
let queue: &iced_wgpu::wgpu::Queue = render_world.get_resource::<RenderQueue>().unwrap();
178178
let adapter = render_world.get_resource::<RenderAdapter>().unwrap();
179179
let engine = iced_wgpu::Engine::new(
180180
adapter,
181-
(*device).clone(),
182-
(****queue).clone(),
181+
device.clone(),
182+
queue.clone(),
183183
render::TEXTURE_FMT,
184184
Some(iced_wgpu::graphics::Antialiasing::MSAAx4),
185185
);

0 commit comments

Comments
 (0)