Skip to content

Commit

Permalink
fix Timespec details private for mac sleep_until
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdsk committed Dec 24, 2023
1 parent f3c9718 commit 5470a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/sys/unix/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ pub struct SystemTime {

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub(crate) struct Timespec {
tv_sec: i64,
tv_nsec: Nanoseconds,
pub(in crate::sys::unix::thread) tv_sec: i64,
pub(in crate::sys::unix::thread) tv_nsec: Nanoseconds,
}

impl SystemTime {
Expand Down

0 comments on commit 5470a7c

Please sign in to comment.