chore: remove em-dashes per repo style #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/em-dash-sweep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removes every U+2014 em-dash from the repo per the no-em-dash style rule. 40 substitutions across 7 files; no behavior change.
Substitution rules
The replacement was chosen per call site, never globally:
x — explanation->x: explanationwhen the second half expands the first.x — independent clause->x; independent clausewhen the second half is a full thought.Title — Subtitle(heading) ->Title: Subtitle.x — Yinside an embedded reference likevia use super::*; — the ...-> split into two sentences (... ;. Change to ...) to avoid;:/;;ugliness.path — description->path: description.Files
src/main.rs,src/image/mod.rs,src/video/convert.rs: doc comments and inline comments.src/video/convert.rs:373: thebail!error string changes from"... — install ..."to"... . Install ...". No test asserts the exact text; the only other reference is a comment in the plan doc, which is updated to match.oci-build/get-tags.nu,.forgejo/workflows/create-release.yml: single-line comments.docs/superpowers/specs/2026-04-16-video-conversion-design.md,docs/superpowers/plans/2026-04-16-video-conversion.md: historical design and plan docs. Em-dashes replaced in place;eyesreferences are left as-is since these docs are dated and self-evidently historical (the rename tomonkeypost-dates them).Verification
grep -rn '—' --exclude-dir=target --exclude-dir=.git --exclude-dir=.claude .returns nothing.git diff --statreports 40 insertions / 40 deletions; pure 1:1 substitution.Test plan
just pre-commit(Docker-based) passes fmt + clippy + build + tests.just check-dockerbuilds.Checkworkflow stays green on this PR.