From 231e8515fb4f41d5f580df62bf828877618609a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Sun, 21 Jul 2024 19:33:13 +0200 Subject: [PATCH] `cargo clippy --fix` --- crates/eframe/src/web/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eframe/src/web/events.rs b/crates/eframe/src/web/events.rs index 987b0cde7a30..797d098c43aa 100644 --- a/crates/eframe/src/web/events.rs +++ b/crates/eframe/src/web/events.rs @@ -358,7 +358,7 @@ fn install_color_scheme_change_event( runner_ref: &WebRunner, window: &web_sys::Window, ) -> Result<(), JsValue> { - if let Some(media_query_list) = prefers_color_scheme_dark(&window)? { + if let Some(media_query_list) = prefers_color_scheme_dark(window)? { runner_ref.add_event_listener::( &media_query_list, "change",