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

Assorted fixes and improvements #119

Merged
merged 4 commits into from
Jul 13, 2020

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Jul 12, 2020

See individual commits for descriptions.

If I come across other problems I might add onto what is currently here.

Having errors be `Send+Sync` is a good practice in the Rust ecosystem as
it allows at least passing the errors in and out of threads as it is
propagated.

`AsRef<Path>` allows more convenient use of the constructor wherein you
have the convenience of being able to pass in e.g. a string literal.
Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look great to me. Thanks!

@wesleywiser wesleywiser merged commit 88522bb into rust-lang:master Jul 13, 2020
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