From d62ea285cb5fe73ac41e7364f0ca3f32281a0e88 Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 15 Aug 2024 12:51:12 -0700 Subject: [PATCH] style: fixed format --- tetanes/src/sys/platform/wasm.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tetanes/src/sys/platform/wasm.rs b/tetanes/src/sys/platform/wasm.rs index 828258e2..34539222 100644 --- a/tetanes/src/sys/platform/wasm.rs +++ b/tetanes/src/sys/platform/wasm.rs @@ -374,8 +374,7 @@ pub mod renderer { let copied_text = std::mem::take(&mut output.platform_output.copied_text); tracing::warn!("Copied text: {copied_text}"); if !copied_text.is_empty() { - if let Some(clipboard) = - web_sys::window().map(|window| window.navigator().clipboard()) + if let Some(clipboard) = web_sys::window().map(|window| window.navigator().clipboard()) { let promise = clipboard.write_text(&copied_text); let future = JsFuture::from(promise);