Run cargo fmt

This commit is contained in:
Joshua Groves committed 2019-06-11 21:02:30 -04:00
1 parent d4ef083dbb
commit 774dbcd99a
7 files changed
+88 -81

No files matched your search

+1 -4
View File
@@ -62,10 +62,7 @@ pub fn run<E: Example>(title: &str) {
let window = Window::new(&events_loop).unwrap();
window.set_title(title);
let hidpi_factor = window.get_hidpi_factor();
let size = window
.get_inner_size()
.unwrap()
.to_physical(hidpi_factor);
let size = window.get_inner_size().unwrap().to_physical(hidpi_factor);
let surface = instance.create_surface(&window);