Skip to content

chore: configure clippy lints, improve unwrap usage#14

Draft
koloiyolo wants to merge 2 commits into
us-irs:mainfrom
koloiyolo:chore/add_clippy_rules
Draft

chore: configure clippy lints, improve unwrap usage#14
koloiyolo wants to merge 2 commits into
us-irs:mainfrom
koloiyolo:chore/add_clippy_rules

Conversation

@koloiyolo
Copy link
Copy Markdown
Contributor

Follow up to #12

This MR introduces a Clippy configuration intended to help detect existing unwrap() usages in the codebase, with the goal of gradually replacing them with more descriptive expect() calls or proper error handling where appropriate.

I decided to go with warn instead of deny, because as You mentioned in #12, some unwraps are OK.

Objectives of this MR:

  • Improved, more descriptive Error Handling
  • Reduction of silent or unexpected panics
  • No impact on the existing library API

@koloiyolo koloiyolo force-pushed the chore/add_clippy_rules branch from fdbe2c0 to d73989b Compare May 10, 2026 11:03
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