Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

pvdrz
Copy link
Contributor

@pvdrz pvdrz commented Mar 20, 2025

  • 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
Copy link
Member

newAM commented Mar 20, 2025

Covered by #533 and #532 as well

@pvdrz
Copy link
Contributor Author

pvdrz commented Mar 24, 2025

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