Templates: rustfmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic
2026-10-30 03:41:14 +07:00
co-authored by Claude Opus 5.5
parent 31a2716a19
commit 054d884cdf
+2 -4
View File
@@ -893,10 +893,8 @@ fn save_as(s: &mut Session, p: &Value) -> Result<Value> {
manifest["linkedFootage"] = json!(e.skipped);
}
let t = s.time_of(cid);
let mut entries: Vec<(String, Vec<u8>)> = vec![
("manifest.json".into(), serde_json::to_vec_pretty(&manifest).unwrap_or_default()),
("project.ecproj".into(), proj.to_json().into_bytes()),
];
let mut entries: Vec<(String, Vec<u8>)> =
vec![("manifest.json".into(), serde_json::to_vec_pretty(&manifest).unwrap_or_default()), ("project.ecproj".into(), proj.to_json().into_bytes())];
entries.extend(media_entries);
if let Ok((w, h, rgba)) = s.render_rgba8(cid, t, 320) {
if let Ok(png) = crate::commands::comp_more::encode_png(&rgba, w, h) {