Lint the merged community PRs: no drop of a borrowing closure (#458), json only where drops import (#447)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QiAJeFttZp83Fh7YuzAR5f
This commit is contained in:
Claude committed 2026-10-10 15:45:46 +00:00
1 parent 616574439e
commit 5a8cd76b77
2 files changed
+3 -3

No files matched your search

-2
View File
@@ -1010,7 +1010,6 @@ fn second_render_is_refused_and_edits_apply_during_a_render() {
send(call(9, "doc_inspect", json!({})));
let doc = next();
assert!(doc.to_string().contains("Added while rendering"), "{doc}");
drop(send);
drop(in_w);
server.join().unwrap();
let _ = std::fs::remove_dir_all(&dir);
@@ -1110,7 +1109,6 @@ fn render_progress_and_cancel() {
assert!(!b.exists(), "partial output deleted");
assert!(std::path::Path::new(&a).exists(), "completed earlier queue item is retained");
assert_eq!(v["items"][1]["statusLabel"], "User Stopped", "{v}");
drop(send);
drop(in_w);
server.join().unwrap();
let _ = std::fs::remove_dir_all(&dir);
+3 -1
View File
@@ -4,7 +4,9 @@
//! output (a second window showing the composition frame, Mercury Transmit-style).
use egui::{Color32, Rect};
use serde_json::{Value, json};
use serde_json::Value;
#[cfg(not(target_arch = "wasm32"))]
use serde_json::json;
use crate::EffectcraftApp;
use crate::frames::FrameKey;