8000 chore: trim comments the code already says by aorumbayev · Pull Request #184 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

chore: trim comments the code already says - #184

Merged
aorumbayev merged 8 commits into
mainfrom
chore/trim-comments
Dec 3, 2026
Merged

aorumbayev merged 8 commits into
mainfrom
chore/trim-comments

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

What

Comments that only repeated the code are gone, and a few that carried a real fact are worded plainly. Behaviour, strings and tool directives are unchanged.

Why

The code already said these things; the comments only added noise for a maintainer reading a file.

Notes

Two findings were rejected: the scroll-state comment names what an opaque tuple holds, and the test-only answering helper's note explains why it exists. One unresolved TODO remains: the packaged app icon entry in brand.rs.

Test plan

  • cargo fmt --check, clippy and cargo t --workspace --locked pass
  • sh scripts/size-budget.sh, typos with .config/typos.toml
  • git diff origin/main -U0 shows comment lines only

@aorumbayev
aorumbayev marked this pull request as ready for review December 3, 2026 20:49
@aorumbayev
aorumbayev merged commit d030354 into main Dec 3, 2026
43 of 46 checks passed
@aorumbayev
aorumbayev deleted the chore/trim-comments branch December 3, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0