Skip to content

Remove unused EmitError from YAML pretty printer - #912

Merged
NSoiffer merged 1 commit into
daisy:mainfrom
moritz-gross:remove-outdated--BadHashmapKey
Oct 24, 2026
Merged

NSoiffer merged 1 commit into
daisy:mainfrom
moritz-gross:remove-outdated--BadHashmapKey

Conversation

@moritz-gross

Copy link
Copy Markdown
Collaborator

EmitError was copied from yaml-rust along with the emitter. Its BadHashmapKey variant was never constructed, not even in the original yaml-rust emitter, and the only other variant wrapped fmt::Error. Drop the type and the EmitResult alias and return fmt::Result directly.

EmitError was copied from yaml-rust along with the emitter.
Its BadHashmapKey variant was never constructed, not even in the original
yaml-rust emitter, and the only other variant wrapped fmt::Error.
Drop the type and the EmitResult alias and return fmt::Result directly.
@github-actions

Copy link
Copy Markdown
Linux library size: 0.59 MiB (-0.01%)
Revision Release liblibmathcat.so
Base (3aee7a4) 0.59 MiB (614,768 bytes)
PR (9f4e7c8) 0.59 MiB (614,696 bytes)
Change -72 bytes (-0.01%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@NSoiffer
NSoiffer merged commit 23aaec7 into daisy:main Oct 24, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants