Skip to content
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

Impl std error #1

Merged
merged 2 commits into from
Mar 6, 2022
Merged

Impl std error #1

merged 2 commits into from
Mar 6, 2022

Conversation

MiSawa
Copy link
Contributor

@MiSawa MiSawa commented Mar 6, 2022

Thank you for the amazing crate!
This PR consists of two commits:
The first commit of the change implements std::error::Error for Error type so that it's easier for users to propagate the error returned by time-tz.
The second commit is a result of cargo fmt, as I noticed there are some formatting issues like mixed tab-indentations and spaces-indentations.

@Yuri6037
Copy link
Owner

Yuri6037 commented Mar 6, 2022

Thanks for this contribution; I've just started the workflows.

I didn't know about std::error::Error type so I never added it to any of my error types; night have to re-visit my other projects.

@Yuri6037 Yuri6037 merged commit d16b8e7 into Yuri6037:master Mar 6, 2022
@Yuri6037
Copy link
Owner

Yuri6037 commented Mar 6, 2022

All right these changes should now be on crates.io with version 0.4.1.

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