From c8d36331928741cb4594981feacd10af62d2a441 Mon Sep 17 00:00:00 2001 From: Mathspy Date: Thu, 14 Jan 2021 06:36:05 +0200 Subject: [PATCH] Fix syntax error in create_app_window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feel free to use this PR as just an issue filing if this isn’t the correct fix --- book_src/loading_opengl/win32.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book_src/loading_opengl/win32.md b/book_src/loading_opengl/win32.md index 4e7d8a7..4b7f208 100644 --- a/book_src/loading_opengl/win32.md +++ b/book_src/loading_opengl/win32.md @@ -590,7 +590,7 @@ pub const WS_CLIPCHILDREN: u32 = 0x02000000; /// neighboring child window. pub const WS_CLIPSIBLINGS: u32 = 0x04000000; -pub unsafe fn create_app_window( +pub unsafe fn create_app_window() { // ... let hwnd = CreateWindowExW( WS_EX_APPWINDOW | WS_EX_OVERLAPPEDWINDOW,