Skip to content

Fix Clippy warnings for CI#67

Merged
avsaase merged 1 commit intoavsaase:masterfrom
mmotorny:fix/clippy-warnings
Mar 2, 2026
Merged

Fix Clippy warnings for CI#67
avsaase merged 1 commit intoavsaase:masterfrom
mmotorny:fix/clippy-warnings

Conversation

@mmotorny
Copy link
Contributor

@mmotorny mmotorny commented Mar 1, 2026

  • Replace manual modulo with is_multiple_of()
  • Replace map_or with is_some_and
  • Replace map_or with is_ok_and
  • Add {source} to error messages to fix unused_assignments
  • Remove unused FfmpegError enum

Made-with: Cursor

- Replace manual modulo with is_multiple_of() in font dimensions
- Replace map_or with is_some_and in app config save check
- Replace map_or with is_ok_and in version update check
- Add {source} to thiserror messages to fix unused_assignments
- Remove unused FfmpegError enum

Made-with: Cursor
@avsaase avsaase merged commit e23341d into avsaase:master Mar 2, 2026
6 checks passed
@avsaase
Copy link
Owner

avsaase commented Mar 2, 2026

Thanks!

@mmotorny mmotorny deleted the fix/clippy-warnings branch March 2, 2026 06:13
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.

2 participants