From 813e6a836e1eaf2a686cd6de1bca9d5b2cc3d723 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Sun, 9 Dec 2018 22:24:11 +0100 Subject: [PATCH] Reformat --- examples/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index dec9168..b2463b1 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -160,10 +160,10 @@ unsafe fn create_surface( instance: &I, window: &winit::Window, ) -> Result { + use std::ptr; use winapi::shared::windef::HWND; use winapi::um::libloaderapi::GetModuleHandleW; use winit::os::windows::WindowExt; - use std::ptr; let hwnd = window.get_hwnd() as HWND; let hinstance = GetModuleHandleW(ptr::null()) as *const c_void;