Skip to content

chore: Remove unwrap() from non-test code#298

Merged
marcoow merged 2 commits intomainmatter:mainfrom
TheJanzap:remove-unwrap
Mar 22, 2026
Merged

chore: Remove unwrap() from non-test code#298
marcoow merged 2 commits intomainmatter:mainfrom
TheJanzap:remove-unwrap

Conversation

@TheJanzap
Copy link
Copy Markdown
Contributor

Since using unwrap() is bad practice, I replaced all unwraps() in non-test code with expect() or similar. This fixes clippy::unwrap_used when this lint is enabled.

marcoow
marcoow previously approved these changes Mar 22, 2026
@marcoow marcoow merged commit 318d45b into mainmatter:main Mar 22, 2026
31 checks passed
@TheJanzap TheJanzap deleted the remove-unwrap branch March 22, 2026 17:00
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