Minor code hygiene.

This commit is contained in:
Jay Oster 2019-09-25 23:11:36 -07:00
parent cc4976079b
commit f0d7c84a3f

View file

@ -8,8 +8,8 @@ fn main() -> Result<(), PixelsError> {
let (_window, surface) = { let (_window, surface) = {
let window = winit::window::Window::new(&event_loop).unwrap(); let window = winit::window::Window::new(&event_loop).unwrap();
let surface = wgpu::Surface::create(&window); let surface = wgpu::Surface::create(&window);
(window, surface) (window, surface)
}; };