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

Add const constructors for TimeSpec and TimeVal #1760

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

asomers
Copy link
Member

@asomers asomers commented Jul 11, 2022

These are basically the same as Fromlibc::timespec and
Fromlibc::timeval, but they're const and require less typing.

@asomers asomers requested a review from rtzoeller July 11, 2022 00:10
These are basically the same as From<libc::timespec> and
From<libc::timeval>, but they're const and require less typing.
Copy link
Collaborator

@rtzoeller rtzoeller 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 bors bot merged commit 5f859d1 into nix-rust:master Jul 11, 2022
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