[rs] Fix typo

This commit is contained in:
Joshua Groves
2020-11-21 00:07:57 -03:30
parent dc9a3096f5
commit de83824617
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ async fn run(event_loop: EventLoop<()>, window: Window, swapchain_format: wgpu::
compatible_surface: Some(&surface),
})
.await
.expect("Failed to find an appropiate adapter");
.expect("Failed to find an appropriate adapter");
// Create the logical device and command queue
let (device, queue) = adapter

View File

@@ -79,7 +79,7 @@ async fn run(
compatible_surface: viewports.first().map(|desc| &desc.surface),
})
.await
.expect("Failed to find an appropiate adapter");
.expect("Failed to find an appropriate adapter");
// Create the logical device and command queue
let (device, queue) = adapter