diff options
author | Alan Somers <asomers@gmail.com> | 2016-11-19 19:06:13 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2016-11-19 20:37:08 -0700 |
commit | b983240ef137c5c38a5554413381fb26d1c2e0f9 (patch) | |
tree | 6bad2efc345394567a0f0c7ace7dedd0c5f7986c /test/sys | |
parent | e983d20bd6be3dde43ed4a7f9f6e63eda19872b3 (diff) | |
download | nix-b983240ef137c5c38a5554413381fb26d1c2e0f9.zip |
Add TimeSpec, a Newtype around libc::timespec
Also, add trait TimeValLike, so some code can be shared between TimeSpec
and TimeVal.
Diffstat (limited to 'test/sys')
-rw-r--r-- | test/sys/test_select.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_select.rs b/test/sys/test_select.rs index f1349923..53990f65 100644 --- a/test/sys/test_select.rs +++ b/test/sys/test_select.rs @@ -1,5 +1,5 @@ use nix::sys::select::{FdSet, FD_SETSIZE, select}; -use nix::sys::time::TimeVal; +use nix::sys::time::{TimeVal, TimeValLike}; use nix::unistd::{write, pipe}; #[test] |