From a0f456d4f41e70cffb5334975639223ecae5b25c Mon Sep 17 00:00:00 2001 From: CypherNaugh_0x <9931495+CypherNaught-0x@users.noreply.github.com> Date: Sat, 10 Oct 2026 18:09:07 +0200 Subject: [PATCH] Clippy passes on macOS and Windows again: the options rebinding for the XWayland default is compiled only where the Linux block that mutates it is, instead of leaving an unused mut that -D warnings rejects (#75) --- apps/solvecraft/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/solvecraft/src/main.rs b/apps/solvecraft/src/main.rs index 934e5e5f..21132f54 100644 --- a/apps/solvecraft/src/main.rs +++ b/apps/solvecraft/src/main.rs @@ -132,6 +132,7 @@ fn main() -> eframe::Result { multisampling: samples, ..Default::default() }; + #[cfg(all(unix, not(target_os = "macos")))] let mut options = options; #[cfg(all(unix, not(target_os = "macos")))] // winit has no file drag-and-drop on Wayland (only on X11), so dropping files from the file