From 0bd2025a0df6c71b21d770b6d6bf296ce0db6441 Mon Sep 17 00:00:00 2001 From: Iain Laird Date: Fri, 17 Nov 2023 19:26:59 +0000 Subject: [PATCH] Windows lint --- druid-shell/src/backend/windows/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/druid-shell/src/backend/windows/window.rs b/druid-shell/src/backend/windows/window.rs index 568e1de91..0794c3db0 100644 --- a/druid-shell/src/backend/windows/window.rs +++ b/druid-shell/src/backend/windows/window.rs @@ -1076,7 +1076,7 @@ impl WndProc for MyWndProc { // When maximized, windows still adds offsets for the frame // so we counteract them here. let s: *mut NCCALCSIZE_PARAMS = lparam as *mut NCCALCSIZE_PARAMS; - if let Some(mut s) = s.as_mut() { + if let Some(s) = s.as_mut() { let border = self.get_system_metric(SM_CXPADDEDBORDER); let frame = self.get_system_metric(SM_CYSIZEFRAME); s.rgrc[0].top += border + frame;