From 9dcbac0285c8d5ebebdb3780f1900a5472a98992 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Mon, 14 Mar 2022 16:05:25 +0100 Subject: [PATCH] Rustfmt --- src/os/windows/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/os/windows/mod.rs b/src/os/windows/mod.rs index 1d91f14..81e58fd 100644 --- a/src/os/windows/mod.rs +++ b/src/os/windows/mod.rs @@ -218,7 +218,11 @@ unsafe extern "system" fn wnd_proc( winuser::WM_LBUTTONUP => wnd.mouse.state[0] = false, winuser::WM_MOUSEMOVE => { - let button_checks = [winuser::MK_LBUTTON, winuser::MK_MBUTTON, winuser::MK_RBUTTON]; + let button_checks = [ + winuser::MK_LBUTTON, + winuser::MK_MBUTTON, + winuser::MK_RBUTTON, + ]; for i in 0..3 { if (wparam & button_checks[i]) == button_checks[i] {