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)

This commit is contained in:
CypherNaugh_0x authored and bherbruck committed 2026-10-10 12:31:50 -04:00
1 parent 9a22d9df92
commit a0f456d4f4
1 file changed
+1
+1
View File
@@ -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