You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): fix fmt, clippy, doc, test failures from Q2 PR
- fmt: rustfmt across new/modified files (test helpers, generator
bin, ConstraintMode wiring).
- clippy:
- Convert `impl Default for <Strategy>` blocks to
`#[derive(Default)]` + `#[default]` per-variant for all eight
type-mapping strategy enums and ConstraintMode (clippy
`derivable_impls`).
- Replace literal U+200B chars in `format_constraints_doc`'s
pattern escaping with the `\u{200B}` Rust escape (clippy
`invisible_characters`).
- doc: wrap `Vec<u8>` in backticks in the SchemaType::Primitive
docstring (rustdoc `invalid_html_tags` treated `<u8>` as an
unclosed HTML tag).
- test: add `serde_with: ..` to a SchemaType::Primitive pattern
match in `examples/number_formats.rs`, and add the new `types`
field to the GeneratorConfig literal in `examples/complete_workflow.rs`.
No behavior change. All four gates pass locally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments