diff options
| -rw-r--r-- | talpid-time/src/unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-time/src/unix.rs b/talpid-time/src/unix.rs index 2360de818d..643a7049aa 100644 --- a/talpid-time/src/unix.rs +++ b/talpid-time/src/unix.rs @@ -1,7 +1,7 @@ use libc::{c_long, clock_gettime, clockid_t, timespec}; use std::{mem::MaybeUninit, time::Duration}; -const NSEC_PER_SEC: c_long = 1000000000; +const NSEC_PER_SEC: c_long = 1_000_000_000; #[cfg(target_os = "macos")] const CLOCK_ID: clockid_t = libc::CLOCK_MONOTONIC; |
