Skip to content

Add const constructors for TimeSpec and TimeVal#1760

Merged
bors[bot] merged 1 commit intonix-rust:masterfrom
asomers:timespec-new
Jul 11, 2022
Merged

Add const constructors for TimeSpec and TimeVal#1760
bors[bot] merged 1 commit intonix-rust:masterfrom
asomers:timespec-new

Conversation

@asomers
Copy link
Copy Markdown
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
Copy Markdown
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