Skip to content

error: add io::Error conversion#12

Merged
ririsoft merged 2 commits intoririsoft:masterfrom
tharvik:master
Jan 27, 2025
Merged

error: add io::Error conversion#12
ririsoft merged 2 commits intoririsoft:masterfrom
tharvik:master

Conversation

@tharvik
Copy link
Contributor

@tharvik tharvik commented Oct 6, 2024

accessing the contained io::Error solely via a ref is a bit bothering to work with.

this PR takes from sync walkdir's Error allowing to extract the underlying io::Error.

  • into_io to extract the contained io::Error
  • From<Error> for io::Error to create a more "classic" error type

note: I choose to name it into_io() to be consistant with io(), in contrario to upstream postfix theses with "_error".

tharvik and others added 2 commits October 6, 2024 22:58
@ririsoft ririsoft merged commit a808471 into ririsoft:master Jan 27, 2025
2 checks passed
@ririsoft
Copy link
Owner

I am so sorry I missed your PR.
Thanks a lot for your contribution !

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