Skip to content

Commit 5470a7c

Browse files
committed
fix Timespec details private for mac sleep_until
1 parent f3c9718 commit 5470a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/sys/unix/time.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ pub struct SystemTime {
2828

2929
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
3030
pub(crate) struct Timespec {
31-
tv_sec: i64,
32-
tv_nsec: Nanoseconds,
31+
pub(in crate::sys::unix::thread) tv_sec: i64,
32+
pub(in crate::sys::unix::thread) tv_nsec: Nanoseconds,
3333
}
3434

3535
impl SystemTime {

0 commit comments

Comments
 (0)