Skip to content

refactor: standardize Rust style across the workspace - #421

Merged
devmobasa merged 2 commits into
mainfrom
refactor/cleanup-style
Oct 22, 2026
Merged

devmobasa merged 2 commits into
mainfrom
refactor/cleanup-style

Conversation

@devmobasa

@devmobasa devmobasa commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Standardize Rust style across the core app and GTK configurator, and add checks to keep future changes consistent.

  • Enable workspace Clippy rules and document the shared conventions.
  • Normalize imports and add a repository guard that enforces one module per use statement.
  • Improve borrowing, panic documentation, assertion messages, and unsafe-code explanations.
  • Replace poisoned-lock recovery with explicit failure or safe fallbacks.
  • Keep shared test resources releasable after a panic.
  • Wait for GTK popup layout to settle before recording reference pixels in capture tests.

Several identical frames can precede a popup's final layout, leaving the
capture restoration test with a premature reference image. Require a
quiet interval before recording that image while retaining the existing
settling deadline and exact restoration assertions.
@devmobasa
devmobasa merged commit 4c0981a into main Oct 22, 2026
3 checks passed
@devmobasa
devmobasa deleted the refactor/cleanup-style branch October 23, 2026 16:25
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