From 560928af94e9149cbc44d4e46355cf42421a8672 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 14 Oct 2026 14:46:41 -0400 Subject: [PATCH] Fix up merged PRs: cargo fmt Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index dfc6a443..e5b5b884 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -19,8 +19,8 @@ pub mod icons; pub mod media; pub mod menus; pub mod panes; -pub mod qat; mod preview; +pub mod qat; pub mod ribbon; pub mod selpane; pub mod settings; @@ -1524,9 +1524,7 @@ impl SlideApp { let Ok(v) = self.session.execute(cmd, &json!({})) else { return }; let text = v.get("text").and_then(Value::as_str).unwrap_or("").to_string(); let html = v.get("html").and_then(Value::as_str).unwrap_or("").to_string(); - if self.session.clipboard.slides.is_empty() - && !html.is_empty() - && self.services.clipboard_set_html.as_mut().is_some_and(|f| f(&html, &text)) + if self.session.clipboard.slides.is_empty() && !html.is_empty() && self.services.clipboard_set_html.as_mut().is_some_and(|f| f(&html, &text)) { return; }