Skip to content

Remove #[allow(clippy::result_unit_err)]#539

Closed
pvdrz wants to merge 2 commits into
rust-embedded:mainfrom
pvdrz:no-unit-errors
Closed

Remove #[allow(clippy::result_unit_err)]#539
pvdrz wants to merge 2 commits into
rust-embedded:mainfrom
pvdrz:no-unit-errors

Conversation

@pvdrz

@pvdrz pvdrz commented Mar 20, 2025

Copy link
Copy Markdown
Contributor
  • Remove unit errors from String and Vec
  • Remove unit errors from SortedLinkedList
  • Update changelog

Fixes #533

There is an unsolved question regarding trait implementations with associated error types like TryFrom where in some cases TryFrom::Err is still (). In that case, we still have the issue of () not implementing Error but the only way to fix it would be to introduce a new error type on each case. Is that acceptable?

@newAM

newAM commented Mar 20, 2025

Copy link
Copy Markdown
Member

Covered by #533 and #532 as well

@pvdrz

pvdrz commented Mar 24, 2025

Copy link
Copy Markdown
Contributor Author

how did I miss this 🤡

@pvdrz pvdrz closed this Mar 27, 2025
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