From b8ba4e5cf21e29c3cb7338715978d4dbb42b0862 Mon Sep 17 00:00:00 2001 From: Osspial Date: Tue, 10 Mar 2020 16:25:41 -0400 Subject: [PATCH] Format --- src/platform_impl/windows/event_loop.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/platform_impl/windows/event_loop.rs b/src/platform_impl/windows/event_loop.rs index 3a7230628ae..c23df26753b 100644 --- a/src/platform_impl/windows/event_loop.rs +++ b/src/platform_impl/windows/event_loop.rs @@ -640,7 +640,10 @@ fn normalize_pointer_pressure(pressure: u32) -> Option { /// Returns `true` if this invocation flushed all the redraw events. If this function is re-entrant, /// it won't flush the redraw events and will return `false`. #[must_use] -unsafe fn flush_paint_messages(except: Option, runner: &EventLoopRunner) -> bool { +unsafe fn flush_paint_messages( + except: Option, + runner: &EventLoopRunner, +) -> bool { if !runner.redrawing() { runner.main_events_cleared(); let mut msg = mem::zeroed();