style: cargo fmt --all (round 4 ingest log feature follow-up)
Phase C4 executor 의 마지막 `fix(test): clippy + fmt fixes` commit 이 test file 부분만 fmt 적용. workspace 전체 fmt 누락 발견 → cargo fmt --all 적용. 모든 import alphabetical reorder + line wrapping 정합. 추가 untracked artifact 동시 commit: - docs/superpowers/specs/2026-05-28-v0.20-ingest-log-spec.md (491 line, ACCEPT) - docs/superpowers/plans/2026-05-28-v0.20-ingest-log-plan.md (616 line, ACCEPT) workspace test: 1370 passed / 0 failed / 50 ignored, ingest_log_smoke green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,9 @@ use std::io::Write;
|
||||
|
||||
fn main() {
|
||||
let mut args = std::env::args().skip(1);
|
||||
let out = args.next().expect("usage: gen_smoke_pdf <out.pdf> <text...>");
|
||||
let out = args
|
||||
.next()
|
||||
.expect("usage: gen_smoke_pdf <out.pdf> <text...>");
|
||||
let pages: Vec<String> = args.collect();
|
||||
if pages.is_empty() {
|
||||
eprintln!("at least one page text required");
|
||||
@@ -34,10 +36,7 @@ fn main() {
|
||||
operations: vec![
|
||||
Operation::new("BT", vec![]),
|
||||
Operation::new("Tf", vec!["F1".into(), 14.into()]),
|
||||
Operation::new(
|
||||
"Td",
|
||||
vec![Object::Integer(72), Object::Integer(720)],
|
||||
),
|
||||
Operation::new("Td", vec![Object::Integer(72), Object::Integer(720)]),
|
||||
Operation::new("Tj", vec![Object::string_literal(text.as_str())]),
|
||||
Operation::new("ET", vec![]),
|
||||
],
|
||||
@@ -65,8 +64,7 @@ fn main() {
|
||||
Object::Integer(842),
|
||||
],
|
||||
};
|
||||
doc.objects
|
||||
.insert(pages_id, Object::Dictionary(pages_dict));
|
||||
doc.objects.insert(pages_id, Object::Dictionary(pages_dict));
|
||||
let catalog_id = doc.add_object(dictionary! {
|
||||
"Type" => "Catalog",
|
||||
"Pages" => pages_id,
|
||||
|
||||
Reference in New Issue
Block a user