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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiAJeFttZp83Fh7YuzAR5f
This commit is contained in:
@@ -1010,7 +1010,6 @@ fn second_render_is_refused_and_edits_apply_during_a_render() {
|
|||||||
send(call(9, "doc_inspect", json!({})));
|
send(call(9, "doc_inspect", json!({})));
|
||||||
let doc = next();
|
let doc = next();
|
||||||
assert!(doc.to_string().contains("Added while rendering"), "{doc}");
|
assert!(doc.to_string().contains("Added while rendering"), "{doc}");
|
||||||
drop(send);
|
|
||||||
drop(in_w);
|
drop(in_w);
|
||||||
server.join().unwrap();
|
server.join().unwrap();
|
||||||
let _ = std::fs::remove_dir_all(&dir);
|
let _ = std::fs::remove_dir_all(&dir);
|
||||||
@@ -1110,7 +1109,6 @@ fn render_progress_and_cancel() {
|
|||||||
assert!(!b.exists(), "partial output deleted");
|
assert!(!b.exists(), "partial output deleted");
|
||||||
assert!(std::path::Path::new(&a).exists(), "completed earlier queue item is retained");
|
assert!(std::path::Path::new(&a).exists(), "completed earlier queue item is retained");
|
||||||
assert_eq!(v["items"][1]["statusLabel"], "User Stopped", "{v}");
|
assert_eq!(v["items"][1]["statusLabel"], "User Stopped", "{v}");
|
||||||
drop(send);
|
|
||||||
drop(in_w);
|
drop(in_w);
|
||||||
server.join().unwrap();
|
server.join().unwrap();
|
||||||
let _ = std::fs::remove_dir_all(&dir);
|
let _ = std::fs::remove_dir_all(&dir);
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
//! output (a second window showing the composition frame, Mercury Transmit-style).
|
//! output (a second window showing the composition frame, Mercury Transmit-style).
|
||||||
|
|
||||||
use egui::{Color32, Rect};
|
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::EffectcraftApp;
|
||||||
use crate::frames::FrameKey;
|
use crate::frames::FrameKey;
|
||||||
|
|||||||
Reference in New Issue
Block a user