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

Error as i32 #977

Merged
merged 2 commits into from Nov 27, 2018
Merged

Error as i32 #977

merged 2 commits into from Nov 27, 2018

Conversation

asomers
Copy link
Member

@asomers asomers commented Nov 21, 2018

Add Error::as_errno

This method is useful when it can be statically determined that a nix::Error be an errno, which I find to be very common.

Also, fix some recently introduced compiler warnings.

This method is useful when it can be statically determined that a
nix::Error be an errno, which I find to be very common.
Copy link
Member Author

@asomers asomers left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Nov 27, 2018
977: Error as i32 r=asomers a=asomers

 Add Error::as_errno

This method is useful when it can be statically determined that a nix::Error be an errno, which I find to be very common.

Also, fix some recently introduced compiler warnings.

Co-authored-by: Alan Somers <asomers@gmail.com>
@bors
Copy link
Contributor

bors bot commented Nov 27, 2018

@bors bors bot merged commit f7be5da into nix-rust:master Nov 27, 2018
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.

None yet

1 participant