diff options
author | 2023-09-19 13:21:50 +0200 | |
---|---|---|
committer | 2023-09-19 13:21:50 +0200 | |
commit | a4dbf0788716e8b83a9f37963ef685b765a326c6 (patch) | |
tree | 70ffb135b91c824caa37a0fe4742179088e5a638 /winit/src/application.rs | |
parent | 4613eb26cba3ded83f25ebdefd01c983c79a9d59 (diff) | |
parent | 3d6b9637c3b1c9f3c654a3ecef7a247cfd6edef3 (diff) | |
download | iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.gz iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.bz2 iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.zip |
Merge pull request #2089 from nyurik/inlinefmt
Chore: Inline format args for ease of reading
Diffstat (limited to 'winit/src/application.rs')
-rw-r--r-- | winit/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index d1689452..dec77e80 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -157,7 +157,7 @@ where ) .with_visible(false); - log::debug!("Window builder: {:#?}", builder); + log::debug!("Window builder: {builder:#?}"); let window = builder .build(&event_loop) @@ -174,7 +174,7 @@ where let body = document.body().unwrap(); let target = target.and_then(|target| { - body.query_selector(&format!("#{}", target)) + body.query_selector(&format!("#{target}")) .ok() .unwrap_or(None) }); |