Commit baafe5b
committed
Fix formatter inserting blank line between doc comment and attribute on TupleTypeDecl
`get_item_first_line` was missing the `TupleTypeDecl` case, causing it to
use the item's own span line instead of the attribute line. This made
`format-wado` add a blank line between `/// Doc` and `#[comp_feature(...)]`
on every run, failing the CI integrity check.
https://claude.ai/code/session_0181NuipeuMorkJgDi4dh3Dp1 parent a2d73b2 commit baafe5b
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
| 2651 | + | |
2651 | 2652 | | |
2652 | 2653 | | |
2653 | 2654 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
887 | 901 | | |
888 | 902 | | |
889 | 903 | | |
| |||
0 commit comments