Commit ff18ee0
fix(codegen): Skip empty descriptions instead of emitting empty doc comments
`app.bsky.ageassurance.defs` carries `"description": ""`, which generated a
bare `///` and tripped `clippy::empty_docs`. Since CI runs with
`RUSTFLAGS: "-D warnings"`, that alone fails the build on regeneration.
Treat an empty description the same as a missing one, both for the
per-item `#[doc]` and the schema-level `#![doc]`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 785c0db commit ff18ee0
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
| 588 | + | |
| 589 | + | |
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
| |||
0 commit comments